mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-09 03:54:22 +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);
|
||||
|
||||
// Disallow on wasm
|
||||
build_context.use_separate_modules = false;
|
||||
} else {
|
||||
gb_printf_err("Compiler Error: Unsupported architecture\n");
|
||||
gb_exit(1);
|
||||
|
||||
Reference in New Issue
Block a user