MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / use_thumb_mode

Function use_thumb_mode

build.rs:205–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203}
204
205fn use_thumb_mode() -> bool {
206 // In thumb mode, r7 is reserved.
207 !can_compile("pub unsafe fn f() { core::arch::asm!(\"udf #16\", in(\"r7\") 0); }")
208}
209
210fn has_lower_upper_exp_for_non_zero() -> bool {
211 // LowerExp/UpperExp for NonZero* were added in Rust 1.84.

Callers 1

mainFunction · 0.85

Calls 1

can_compileFunction · 0.85

Tested by

no test coverage detected