e7738de6d2
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
16 lines
450 B
Plaintext
16 lines
450 B
Plaintext
fn dynamicIndex() -> usize {
|
|
return 1
|
|
}
|
|
|
|
pub fn main(world: World) -> Void raises {
|
|
var bytes: [2]u8 = [0_u8, 0_u8]
|
|
var words: [2]u16 = [0_u16, 0_u16]
|
|
bytes[dynamicIndex() % 2_usize] = 90_u8
|
|
words[dynamicIndex() % 2_usize] = 4660_u16
|
|
if bytes[1] == 90_u8 && words[1] == 4660_u16 {
|
|
check world.out.write("dynamic indexed store ok\n")
|
|
} else {
|
|
check world.out.write("dynamic indexed store failed\n")
|
|
}
|
|
}
|