| ... | @@ -3842,8 +3842,8 @@ fn createModule( | ... | @@ -3842,8 +3842,8 @@ fn createModule( |
| 3842 | create_module.opts.any_dyn_libs = true; | 3842 | create_module.opts.any_dyn_libs = true; |
| 3843 | | 3843 | |
| 3844 | create_module.resolved_options = Compilation.Config.resolve(create_module.opts) catch |err| switch (err) { | 3844 | create_module.resolved_options = Compilation.Config.resolve(create_module.opts) catch |err| switch (err) { |
| 3845 | error.WasiExecModelRequiresWasi => fatal("execution model only allowed for WASI OS targets", .{}), | 3845 | error.WasiExecModelRequiresWasi => fatal("only WASI OS targets support execution model", .{}), |
| 3846 | error.SharedMemoryIsWasmOnly => fatal("shared memory only allowed for WebAssembly CPU targets", .{}), | 3846 | error.SharedMemoryIsWasmOnly => fatal("only WebAssembly CPU targets support shared memory", .{}), |
| 3847 | error.ObjectFilesCannotShareMemory => fatal("object files cannot share memory", .{}), | 3847 | error.ObjectFilesCannotShareMemory => fatal("object files cannot share memory", .{}), |
| 3848 | error.SharedMemoryRequiresAtomicsAndBulkMemory => fatal("shared memory requires atomics and bulk_memory CPU features", .{}), | 3848 | error.SharedMemoryRequiresAtomicsAndBulkMemory => fatal("shared memory requires atomics and bulk_memory CPU features", .{}), |
| 3849 | error.ThreadsRequireSharedMemory => fatal("threads require shared memory", .{}), | 3849 | error.ThreadsRequireSharedMemory => fatal("threads require shared memory", .{}), |
| ... | @@ -3869,6 +3869,7 @@ fn createModule( | ... | @@ -3869,6 +3869,7 @@ fn createModule( |
| 3869 | error.LlvmLibraryUnavailable => fatal("zig was compiled without LLVM libraries", .{}), | 3869 | error.LlvmLibraryUnavailable => fatal("zig was compiled without LLVM libraries", .{}), |
| 3870 | error.LldUnavailable => fatal("zig was compiled without LLD libraries", .{}), | 3870 | error.LldUnavailable => fatal("zig was compiled without LLD libraries", .{}), |
| 3871 | error.ClangUnavailable => fatal("zig was compiled without Clang libraries", .{}), | 3871 | error.ClangUnavailable => fatal("zig was compiled without Clang libraries", .{}), |
| | 3872 | error.DllExportFnsRequiresWindows => fatal("only Windows OS targets support DLLs", .{}), |
| 3872 | }; | 3873 | }; |
| 3873 | } | 3874 | } |
| 3874 | | 3875 | |