mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
disable the new code for self-hosted riscv backend
This commit is contained in:
parent
728024f9f3
commit
3f2d1b17fc
@ -436,7 +436,8 @@ fn posixCallMainAndExit(argc_argv_ptr: [*]usize) callconv(.C) noreturn {
|
||||
// to ask for more stack space.
|
||||
expandStackSize(phdrs);
|
||||
|
||||
{
|
||||
// Disabled with the riscv backend because it cannot handle this code yet.
|
||||
if (builtin.zig_backend != .stage2_riscv64) {
|
||||
const opt_init_array_start = @extern([*]*const fn () callconv(.C) void, .{
|
||||
.name = "__init_array_start",
|
||||
.linkage = .weak,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user