Commit 17bad9f886

Adrià Arrufat <1671644+arrufat@users.noreply.github.com>
2024-03-13 14:19:30
Fix emscripten exports
1 parent b9cca3b
Changed files (1)
lib
lib/std/os/emscripten.zig
@@ -17,8 +17,8 @@ comptime {
     if (builtin.os.tag == .emscripten) {
         if (builtin.mode == .Debug or builtin.mode == .ReleaseSafe) {
             // Emscripten does not provide these symbols, so we must export our own
-            @export(__stack_chk_guard, .{ .name = "__stack_chk_guard", .linkage = .Strong });
-            @export(__stack_chk_fail, .{ .name = "__stack_chk_fail", .linkage = .Strong });
+            @export(__stack_chk_guard, .{ .name = "__stack_chk_guard", .linkage = .strong });
+            @export(__stack_chk_fail, .{ .name = "__stack_chk_fail", .linkage = .strong });
         }
     }
 }