mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
wasm: disable stack protector
This commit is contained in:
@ -120,9 +120,11 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
wasm.setTarget(.{ .cpu_arch = .wasm32, .os_tag = .freestanding });
|
||||
wasm.setBuildMode(mode);
|
||||
wasm.setOutputDir("zig-out");
|
||||
|
||||
wasm.addOptions("build_options", exe_options);
|
||||
|
||||
// Stack protector adds extern requirements that we don't satisfy.
|
||||
wasm.stack_protector = false;
|
||||
|
||||
// Wasm-specific deps
|
||||
try addDeps(b, wasm, true);
|
||||
|
||||
|
Reference in New Issue
Block a user