authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-08 23:15:04+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-12 08:57:10+02:00
log15a3ee19795dd9807107c2a45fa328b00e9edd10
tree0cfffdacdc2642232e9d124a08c27f495a8b7fba
parent0bb9db399813c01cf022ce1a2766a497796327ba
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Remove supportsNewStackCall().

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

1 files changed, 0 insertions(+), 4 deletions(-)

lib/std/Target.zig-4
......@@ -1633,10 +1633,6 @@ pub inline fn isGnuLibC(target: Target) bool {
16331633 return target.os.tag.isGnuLibC(target.abi);
16341634}
16351635
1636pub inline fn supportsNewStackCall(target: Target) bool {
1637 return !target.cpu.arch.isWasm();
1638}
1639
16401636pub inline fn isSpirV(target: Target) bool {
16411637 return target.cpu.arch.isSpirV();
16421638}