mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
Fix emscripten exports
This commit is contained in:
parent
b9cca3b63d
commit
17bad9f886
@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user