We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf96396 commit 7f3a298Copy full SHA for 7f3a298
miri
@@ -1,6 +1,7 @@
1
#!/bin/sh
2
set -e
3
-TARGET=$(rustc --print target-spec-json -Z unstable-options | jq '.["llvm-target"]' -r)
+# I'd love to use `jq` for parsing the JSON properly, but macOS is totally underequipped for this kind of work.
4
+TARGET=$(rustc --print target-spec-json -Z unstable-options | grep llvm-target | cut -d '"' -f 4)
5
SYSROOT=$(rustc --print sysroot)
6
# We set the rpath so that Miri finds the private rustc libraries it needs.
7
# We enable debug-assertions to get tracing.
0 commit comments