mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Merge pull request #25125 from alexrp/loongarch-qemu-crashes
`std.debug`: disable stack traces on loongarch
This commit is contained in:
commit
32a34b64ca
2 changed files with 2 additions and 5 deletions
|
|
@ -169,6 +169,8 @@ pub const runtime_safety = switch (builtin.mode) {
|
||||||
pub const sys_can_stack_trace = switch (builtin.cpu.arch) {
|
pub const sys_can_stack_trace = switch (builtin.cpu.arch) {
|
||||||
// Observed to go into an infinite loop.
|
// Observed to go into an infinite loop.
|
||||||
// TODO: Make this work.
|
// TODO: Make this work.
|
||||||
|
.loongarch32,
|
||||||
|
.loongarch64,
|
||||||
.mips,
|
.mips,
|
||||||
.mipsel,
|
.mipsel,
|
||||||
.mips64,
|
.mips64,
|
||||||
|
|
|
||||||
|
|
@ -2293,11 +2293,6 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
|
||||||
if (options.skip_single_threaded and test_target.single_threaded == true)
|
if (options.skip_single_threaded and test_target.single_threaded == true)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// https://github.com/ziglang/zig/issues/24405
|
|
||||||
if (!builtin.cpu.arch.isLoongArch() and target.cpu.arch.isLoongArch() and
|
|
||||||
(mem.eql(u8, options.name, "behavior") or mem.eql(u8, options.name, "std")))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// TODO get compiler-rt tests passing for self-hosted backends.
|
// TODO get compiler-rt tests passing for self-hosted backends.
|
||||||
if (((target.cpu.arch != .x86_64 and target.cpu.arch != .aarch64) or target.ofmt == .coff) and
|
if (((target.cpu.arch != .x86_64 and target.cpu.arch != .aarch64) or target.ofmt == .coff) and
|
||||||
test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt"))
|
test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt"))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue