mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-16 07:13:24 +00:00
std.zig.system: add diagnostics to resolveTargetQuery()
At the moment, this is just used to print warnings when we fail to detect a component of the target and fall back to a default value. In the future, the newly-introduced error.InvalidTargetQuery will be used to report hard errors, e.g. a hard float ABI with no FPU features.
This commit is contained in:
parent
34e349df98
commit
a7c03ec530
20 changed files with 593 additions and 312 deletions
9
lib/compiler/aro/aro/Driver.zig
vendored
9
lib/compiler/aro/aro/Driver.zig
vendored
8
lib/compiler/aro/aro/Value.zig
vendored
8
lib/compiler/aro/aro/Value.zig
vendored
4
lib/compiler/resinator/main.zig
vendored
4
lib/compiler/resinator/main.zig
vendored
2
lib/compiler/translate-c/main.zig
vendored
2
lib/compiler/translate-c/main.zig
vendored
10
src/main.zig
10
src/main.zig
108
test/Runner.zig
108
test/Runner.zig
Loading…
Add table
Add a link
Reference in a new issue