#Getting default target

2 messages · Page 1 of 1 (latest)

mortal tulip
#

How would I go about getting the default target cargo is using from a build script? I want the target triple that cargo is putting in the root of the target/ folder.

./
../
CACHEDIR.TAG
debug/   <- this one
package/
.rustc_info.json
tmp/
x86_64-unknown-linux-gnu/   <- not this one