zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 15a3ee19795dd9807107c2a45fa328b00e9edd10 (tree)
parent 0bb9db399813c01cf022ce1a2766a497796327ba
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Thu,  8 Aug 2024 23:15:04 +0200

std.Target: Remove supportsNewStackCall().

This is literally just isWasm() and has no uses in the repository.

Diffstat:
Mlib/std/Target.zig | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/lib/std/Target.zig b/lib/std/Target.zig @@ -1633,10 +1633,6 @@ pub inline fn isGnuLibC(target: Target) bool { return target.os.tag.isGnuLibC(target.abi); } -pub inline fn supportsNewStackCall(target: Target) bool { - return !target.cpu.arch.isWasm(); -} - pub inline fn isSpirV(target: Target) bool { return target.cpu.arch.isSpirV(); }