Home
last modified time | relevance | path

Searched refs:can_compile (Results 1 - 2 of 2) sorted by relevance

/third_party/rust/crates/io-lifetimes/
H A Dbuild.rs36 can_compile(&format!( in has_feature()
43 fn can_compile<T: AsRef<str>>(test: T) -> bool { in can_compile() functions
89 can_compile("const fn foo() {{ panic!() }}") in has_panic_in_const_fn()
94 can_compile( in has_io_safety()
/third_party/rust/crates/rustix/
H A Dbuild.rs46 // being used to build std, in which case `can_compile` doesn't work in main()
87 if (feature_rustc_dep_of_std || can_compile("use std::arch::asm;")) in main()
161 !can_compile("pub unsafe fn f() { core::arch::asm!(\"udf #16\", in(\"r7\") 0); }") in use_thumb_mode()
176 can_compile(&format!( in has_feature()
183 fn can_compile<T: AsRef<str>>(test: T) -> bool { in can_compile() functions

Completed in 1 milliseconds