1个不稳定版本
| 0.1.0-alpha.1 | 2022年7月8日 |
|---|
#7 在 #lexicon
用于 2 crates
28KB
437 代码行
target-lexicon宏
提供一个 triple 宏来构建静态的 target-lexicon Triple。
示例
use target_lexicon::Triple;
use target_lexicon_macros::triple;
const TARGET: Triple = triple!("x86_64-unknown-linux-gnu")
fn main() {
dbg!(TARGET);
}
依赖项
~1.5MB
~38K SLoC