mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
musl: Fix needsCrtiCrtn() to return false for riscv32 too.
This commit is contained in:
parent
390c7d84b2
commit
11badbfe8e
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue