We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
build.vendor
1 parent 30847eb commit a6aaef1Copy full SHA for a6aaef1
config.example.toml
@@ -311,9 +311,8 @@
311
# Indicate whether the vendored sources are used for Rust dependencies or not.
312
#
313
# Vendoring requires additional setup. We recommend using the pre-generated source tarballs if you
314
-# want to use vendoring. See
315
-# https://forge.rust-lang.org/infra/other-installation-methods.html#source-code.
316
-#vendor = false
+# want to use vendoring. See https://forge.rust-lang.org/infra/other-installation-methods.html#source-code.
+#vendor = if "is a tarball source" && "vendor" dir exists && ".cargo/config.toml" file exists { true } else { false }
317
318
# Typically the build system will build the Rust compiler twice. The second
319
# compiler, however, will simply use its own libraries to link against. If you
0 commit comments