projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8a0f5c
)
fixed: js default runtime settings for multithreading
author
stagas
<gstagas@gmail.com>
Fri, 8 Dec 2023 19:07:27 +0000
(21:07 +0200)
committer
stagas
<gstagas@gmail.com>
Fri, 8 Dec 2023 19:07:27 +0000
(21:07 +0200)
core/builtin.onyx
patch
|
blob
|
history
diff --git
a/core/builtin.onyx
b/core/builtin.onyx
index 0a18e33992e3db95833ed306a9e9a56880d3a5c6..425ddda54c320e1f1c824c3876131ffaf1c8ea1f 100644
(file)
--- a/
core/builtin.onyx
+++ b/
core/builtin.onyx
@@
-542,7
+542,7
@@
Link_Options :: struct {
// Define settings for the link options depending on the runtime.
#local {
- #if runtime.runtime == .Onyx {
+ #if runtime.runtime == .Onyx
|| (runtime.runtime == .Js && runtime.Multi_Threading_Enabled)
{
IMPORT_MEMORY_DEFAULT :: true;
IMPORT_MEMORY_MODULE_NAME_DEFAULT :: "onyx";
IMPORT_MEMORY_IMPORT_NAME_DEFAULT :: "memory";