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,12 @@
|
||||
pub fn prepare() -> usize {
|
||||
var dst: [18]u8 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
return std.mem.copy(dst, std.mem.span("memory package ok\n"))
|
||||
}
|
||||
|
||||
pub fn firstByte() -> u8 {
|
||||
return "memory package ok\n"[0]
|
||||
}
|
||||
|
||||
pub fn messageOk() -> Bool {
|
||||
return std.mem.eqlBytes("memory package ok\n"[0..18], std.mem.span("memory package ok\n"))
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
pub fn checksumOk(expected: u32) -> Bool {
|
||||
return expected == 1120241454
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
use buffer
|
||||
|
||||
use checksum
|
||||
|
||||
pub fn main(world: World) -> Void raises {
|
||||
let written: usize = prepare()
|
||||
if written == 18 && firstByte() == 109 as u8 && messageOk() && checksumOk(1120241454) {
|
||||
check world.out.write("memory package ok\n")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user