@amritk/nish-x86_64-darwin 0.40.1 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INSTALL.md +5 -4
- package/bin/nish +0 -0
- package/package.json +1 -1
- package/runtime/runtime-uring.c +1194 -0
- package/scripts/build.sh +7 -6
- package/std/README.md +1 -0
- package/std/net/prefork.ts +49 -13
- package/std/temporal.ts +3091 -0
package/INSTALL.md
CHANGED
|
@@ -286,7 +286,7 @@ so the practical routes are
|
|
|
286
286
|
build/nish app.ts -o app.ll
|
|
287
287
|
# on the musl host, with its own clang and the runtime from this repository
|
|
288
288
|
clang app.ll runtime/runtime.c runtime/runtime-text.c runtime/runtime-os.c runtime/runtime-parallel.c \
|
|
289
|
-
runtime/runtime-cross.c runtime/runtime-host.c runtime/runtime-net.c \
|
|
289
|
+
runtime/runtime-cross.c runtime/runtime-host.c runtime/runtime-net.c runtime/runtime-uring.c \
|
|
290
290
|
runtime/runtime-simd.c runtime/runtime-aes.c runtime/runtime-sha256.c runtime/runtime-chacha20.c \
|
|
291
291
|
runtime/runtime-term.c runtime/runtime-bytes.c runtime/runtime-checksum.c runtime/runtime-sandbox.c \
|
|
292
292
|
runtime/runtime-shm.c runtime/runtime-region.c -ffp-contract=off -lm -o app
|
|
@@ -393,7 +393,7 @@ It needs Node, clang and a released `nish` to start from, which the build
|
|
|
393
393
|
fetches for you.
|
|
394
394
|
|
|
395
395
|
The published package ships `bin/` (the `nish` command, which is a launcher),
|
|
396
|
-
`runtime/` (the C runtime —
|
|
396
|
+
`runtime/` (the C runtime — nineteen translation units, the wasm subset and their
|
|
397
397
|
header — and `runtime/sqlite/`, SQLite's vendored source),
|
|
398
398
|
`scripts/build.sh` (the link pipeline), `std/` (the standard library) and
|
|
399
399
|
`docs/AI.md` (the rules card). The
|
|
@@ -408,11 +408,12 @@ any working directory — and the binary runs from inside its own platform
|
|
|
408
408
|
package for exactly that reason.
|
|
409
409
|
|
|
410
410
|
Building the IR yourself rather than through `--link` means naming the runtime
|
|
411
|
-
on the `clang` line, and it is
|
|
411
|
+
on the `clang` line, and it is eighteen files (`runtime-async.c` joins them only
|
|
412
|
+
for a program that awaits):
|
|
412
413
|
|
|
413
414
|
```bash
|
|
414
415
|
clang app.ll runtime/runtime.c runtime/runtime-text.c runtime/runtime-os.c runtime/runtime-parallel.c \
|
|
415
|
-
runtime/runtime-cross.c runtime/runtime-host.c runtime/runtime-net.c \
|
|
416
|
+
runtime/runtime-cross.c runtime/runtime-host.c runtime/runtime-net.c runtime/runtime-uring.c \
|
|
416
417
|
runtime/runtime-simd.c runtime/runtime-aes.c runtime/runtime-sha256.c runtime/runtime-chacha20.c \
|
|
417
418
|
runtime/runtime-term.c runtime/runtime-bytes.c runtime/runtime-checksum.c runtime/runtime-sandbox.c \
|
|
418
419
|
runtime/runtime-shm.c runtime/runtime-region.c -ffp-contract=off -lm -o app
|
package/bin/nish
CHANGED
|
Binary file
|