mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-12 02:13:04 +08:00
Each limitations partial held its whole text on one line (map-and-set.mdx was a single 1,080-character line), so any two edits to the same partial conflicted. The partials now put one sentence per line, with a bullet's continuation lines indented two spaces. Markdown joins the lines, so the rendered pages are unchanged. scripts/limitations-partials.mjs reads a labeled bullet's indented continuation lines as part of the bullet when it splits and joins the page, and AGENTS.md states the convention.
11 lines
702 B
Plaintext
11 lines
702 B
Plaintext
`scriptc run` does not forward extra CLI arguments to the program.
|
||
Build an executable and invoke it directly to pass arguments.
|
||
|
||
Native FFI links C functions declared in a manifest.
|
||
Formats 2–5 support call-scoped callbacks, copied string/byte callback parameters, explicitly released retained callbacks, and asynchronous foreign-thread delivery.
|
||
Format 6 adds single-precision floats, signed 8-bit and signed/unsigned 16-bit integers, and borrowed writable byte spans.
|
||
Variadic calls, structs by value, owned pointer/string/byte returns, runtime dynamic-library loading, and library-mode builds are unsupported.
|
||
See [Native FFI](/docs/ffi).
|
||
|
||
Numbers follow JavaScript's double-precision semantics.
|