Vendor asic-rs 0.8.1 (280 crates, offline builds) + wxWidgets 3.3.3 (pristine + patch queue); UI spec + ADR-0003; M1 on asic-rs
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
//! Regression test for the `tiny_vec!` macro's heap arm expanding cleanly
|
||||
//! in a downstream `#![no_std]` crate, where there is no `std` prelude
|
||||
//! `vec!` to mask a macro-hygiene resolution bug.
|
||||
#![no_std]
|
||||
|
||||
use tinyvec::{tiny_vec, TinyVec};
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn expands_to_heap() -> TinyVec<[u8; 1]> {
|
||||
tiny_vec!([u8; 1] => 1, 2)
|
||||
}
|
||||
Reference in New Issue
Block a user