mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Ignore -use-separate-modules when targeting wasm32/wasm64
This commit is contained in:
@@ -921,6 +921,9 @@ void init_build_context(TargetMetrics *cross_target) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bc->link_flags = make_string_c(link_flags);
|
bc->link_flags = make_string_c(link_flags);
|
||||||
|
|
||||||
|
// Disallow on wasm
|
||||||
|
build_context.use_separate_modules = false;
|
||||||
} else {
|
} else {
|
||||||
gb_printf_err("Compiler Error: Unsupported architecture\n");
|
gb_printf_err("Compiler Error: Unsupported architecture\n");
|
||||||
gb_exit(1);
|
gb_exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user