Skip to content

Commit 428432a

Browse files
authored
Update docs for ALLOW_UNIMPLEMENTED_SYSCALLS. NFC (#26479)
1 parent 7b00b48 commit 428432a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

site/source/docs/tools_reference/settings_reference.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3217,9 +3217,9 @@ Default value: true
32173217
ALLOW_UNIMPLEMENTED_SYSCALLS
32183218
============================
32193219

3220-
Include unimplemented JS syscalls to be included in the final output. This
3221-
allows programs that depend on these syscalls at runtime to be compiled, even
3222-
though these syscalls will fail (or do nothing) at runtime.
3220+
Link against stub implementations of unsupported/unimplemented syscalls. This
3221+
allows programs that depend on these syscalls to be compiled, even though
3222+
these functions will fail (or do nothing) at runtime.
32233223

32243224
Default value: true
32253225

src/settings.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2119,9 +2119,10 @@ var SPLIT_MODULE = false;
21192119
// on startup, before loading the main module.
21202120
var AUTOLOAD_DYLIBS = true;
21212121

2122-
// Include unimplemented JS syscalls to be included in the final output. This
2123-
// allows programs that depend on these syscalls at runtime to be compiled, even
2124-
// though these syscalls will fail (or do nothing) at runtime.
2122+
// Link against stub implementations of unsupported/unimplemented syscalls. This
2123+
// allows programs that depend on these syscalls to be compiled, even though
2124+
// these functions will fail (or do nothing) at runtime.
2125+
// [link]
21252126
var ALLOW_UNIMPLEMENTED_SYSCALLS = true;
21262127

21272128
// Allow calls to Worker(...) and importScripts(...) to be Trusted Types

0 commit comments

Comments
 (0)