MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / pointer_size

Function pointer_size

crates/rustc_codegen_nvvm/src/target.rs:46–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46pub fn pointer_size() -> usize {
47 if TARGET_32_BIT.load(Ordering::SeqCst) {
48 32
49 } else {
50 64
51 }
52}
53
54pub fn target() -> Target {
55 Target {

Callers 4

const_usizeMethod · 0.85
int_type_width_signedFunction · 0.85
targetFunction · 0.85
newMethod · 0.85

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected