wasm: add foreign import and linking of wasm object files

This commit is contained in:
Laytan Laats
2024-07-02 15:28:08 +02:00
parent 5637ed9ecd
commit 6f1cc8071c
6 changed files with 26 additions and 16 deletions
-9
View File
@@ -860,15 +860,6 @@ gb_internal bool is_arch_x86(void) {
return false;
}
gb_internal bool allow_check_foreign_filepath(void) {
switch (build_context.metrics.arch) {
case TargetArch_wasm32:
case TargetArch_wasm64p32:
return false;
}
return true;
}
// TODO(bill): OS dependent versions for the BuildContext
// join_path
// is_dir