| ... | ... | @@ -4,6 +4,8 @@ const math = std.math; |
| 4 | 4 | const mem = std.mem; |
| 5 | 5 | const testing = std.testing; |
| 6 | 6 | const Allocator = mem.Allocator; |
| 7 | const builtin = @import("builtin"); |
| 8 | const native_arch = builtin.target.cpu.arch; |
| 7 | 9 | |
| 8 | 10 | const Limb = std.math.big.Limb; |
| 9 | 11 | const DoubleLimb = std.math.big.DoubleLimb; |
| ... | ... | @@ -537,6 +539,9 @@ test "big.rational set" { |
| 537 | 539 | } |
| 538 | 540 | |
| 539 | 541 | test "big.rational setFloat" { |
| 542 | // TODO https://github.com/ziglang/zig/issues/10026 |
| 543 | if (native_arch == .wasm32) return error.SkipZigTest; |
| 544 | |
| 540 | 545 | var a = try Rational.init(testing.allocator); |
| 541 | 546 | defer a.deinit(); |
| 542 | 547 | |