chore: import upstream snapshot with attribution
CI / Deep Native Runtime Cases (1/6) (push) Has been skipped
CI / Native Preflight (push) Failing after 1s
CI / Native Runtime Cases (1/2) (push) Failing after 0s
CI / Native Runtime Cases (2/2) (push) Failing after 1s
CI / Native Metadata Reports (push) Failing after 0s
CI / Native Direct Backend Artifacts (push) Failing after 0s
CI / Native Sanitizer Smoke (push) Failing after 1s
CI / Command Contract Snapshots (push) Failing after 1s
CI / Deep Conformance Suite (push) Has been skipped
CI / Graph Build Perf (push) Failing after 1s
CI / Deep Native Preflight (push) Has been skipped
CI / Deep Native Runtime Cases (2/6) (push) Has been skipped
CI / Deep Native Runtime Cases (3/6) (push) Has been skipped
CI / Conformance Suite (push) Failing after 1s
CI / Workspace Checks (push) Failing after 0s
CI / Deep Native Runtime Cases (5/6) (push) Has been skipped
CI / Deep Native Runtime Cases (6/6) (push) Has been skipped
CI / Deep Native Runtime Cases (4/6) (push) Has been skipped
CI / Deep Graph Build Perf (push) Has been skipped
CI / Deep Native Runtime Cases (1/6) (push) Has been skipped
CI / Native Preflight (push) Failing after 1s
CI / Native Runtime Cases (1/2) (push) Failing after 0s
CI / Native Runtime Cases (2/2) (push) Failing after 1s
CI / Native Metadata Reports (push) Failing after 0s
CI / Native Direct Backend Artifacts (push) Failing after 0s
CI / Native Sanitizer Smoke (push) Failing after 1s
CI / Command Contract Snapshots (push) Failing after 1s
CI / Deep Conformance Suite (push) Has been skipped
CI / Graph Build Perf (push) Failing after 1s
CI / Deep Native Preflight (push) Has been skipped
CI / Deep Native Runtime Cases (2/6) (push) Has been skipped
CI / Deep Native Runtime Cases (3/6) (push) Has been skipped
CI / Conformance Suite (push) Failing after 1s
CI / Workspace Checks (push) Failing after 0s
CI / Deep Native Runtime Cases (5/6) (push) Has been skipped
CI / Deep Native Runtime Cases (6/6) (push) Has been skipped
CI / Deep Native Runtime Cases (4/6) (push) Has been skipped
CI / Deep Graph Build Perf (push) Has been skipped
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
type NumericBag {
|
||||
tiny: u8,
|
||||
word: u16,
|
||||
count: u32,
|
||||
huge: u64,
|
||||
signed_tiny: i8,
|
||||
signed_word: i16,
|
||||
signed_count: i32,
|
||||
signed_huge: i64,
|
||||
size: usize,
|
||||
offset: isize,
|
||||
}
|
||||
|
||||
pub fn main(world: World) -> Void raises {
|
||||
let values: NumericBag = NumericBag { tiny: 255, word: 65535, count: 4294967295, huge: 18446744073709551615, signed_tiny: 127, signed_word: 32767, signed_count: 2147483647, signed_huge: 9223372036854775807, size: 42, offset: 7 }
|
||||
let bytes: [3]u8 = [0, 127, 255]
|
||||
let copied: usize = std.mem.len(bytes)
|
||||
if values.tiny == 255 && values.word == 65535 && values.count > 0 && values.huge > 0 && values.signed_huge > 0 && copied == 3 {
|
||||
check world.out.write("integer widths ok\n")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user