mirror of
https://github.com/ziglang/zig.git
synced 2024-11-25 13:50:15 +00:00
musl: Fix needsCrtiCrtn() to return false for riscv32 too.
This commit is contained in:
parent
390c7d84b2
commit
11badbfe8e
@ -301,6 +301,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre
|
||||
pub fn needsCrtiCrtn(target: std.Target) bool {
|
||||
// zig fmt: off
|
||||
return switch (target.cpu.arch) {
|
||||
.riscv32,
|
||||
.riscv64,
|
||||
.wasm32, .wasm64 => return false,
|
||||
else => true,
|
||||
|
Loading…
Reference in New Issue
Block a user