Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
env:
ASC_FEATURES: mutable-globals,threads,reference-types,bigint-integration,gc
run: |
npm run test:compiler rt/flags features/js-bigint-integration features/reference-types features/threads
npm run test:compiler rt/flags features/js-bigint-integration features/reference-types features/threads std-wasi/process std-wasi/crypto
test-runtimes:
name: "Runtimes"
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion std/assembly/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ abstract class WritableStream extends Stream {
abstract class ReadableStream extends Stream {
read(buffer: ArrayBuffer, offset: isize = 0): i32 {
var end = <usize>buffer.byteLength;
if (offset < 0 || offset > end) {
if (offset < 0 || <usize>offset > end) {
throw new Error(E_INDEXOUTOFRANGE);
}
store<usize>(iobuf, changetype<usize>(buffer) + offset);
Expand Down
Loading