mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-06 02:34:05 +00:00
Improve wasm-import semantics to allow procedures from different import paths
This commit is contained in:
@@ -516,6 +516,8 @@ bool allow_check_foreign_filepath(void) {
|
||||
String const WIN32_SEPARATOR_STRING = {cast(u8 *)"\\", 1};
|
||||
String const NIX_SEPARATOR_STRING = {cast(u8 *)"/", 1};
|
||||
|
||||
String const WASM_MODULE_NAME_SEPARATOR = str_lit("..");
|
||||
|
||||
String internal_odin_root_dir(void);
|
||||
String odin_root_dir(void) {
|
||||
if (global_module_path_set) {
|
||||
|
||||
Reference in New Issue
Block a user