aboutsummaryrefslogtreecommitdiff
path: root/src/userland.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-21 01:22:37 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-01-21 01:22:37 -0500
commit39759b90fce2fa114f59793958390778275c0477 (patch)
tree281c89dbe1c2dca8498ec5ef342a7ec47b7e035b /src/userland.cpp
parente640d015351c3d3bf7c41020ff2a87f38f853140 (diff)
downloadzig-39759b90fce2fa114f59793958390778275c0477.tar.gz
zig-39759b90fce2fa114f59793958390778275c0477.zip
make zig targets show native cpu name and features
Diffstat (limited to 'src/userland.cpp')
-rw-r--r--src/userland.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userland.cpp b/src/userland.cpp
index 4a658d76c5..9a923e1b86 100644
--- a/src/userland.cpp
+++ b/src/userland.cpp
@@ -141,7 +141,7 @@ void stage2_cpu_features_get_builtin_str(const Stage2CpuFeatures *cpu_features,
*len = strlen(cpu_features->builtin_str);
}
-int stage2_cmd_targets(void) {
+int stage2_cmd_targets(const char *zig_triple) {
const char *msg = "stage0 called stage2_cmd_targets";
stage2_panic(msg, strlen(msg));
}