Skip to content

Commit a6aaef1

Browse files
committed
update build.vendor documentation
Signed-off-by: onur-ozkan <[email protected]>
1 parent 30847eb commit a6aaef1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

config.example.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,8 @@
311311
# Indicate whether the vendored sources are used for Rust dependencies or not.
312312
#
313313
# 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
314+
# want to use vendoring. See https://forge.rust-lang.org/infra/other-installation-methods.html#source-code.
315+
#vendor = if "is a tarball source" && "vendor" dir exists && ".cargo/config.toml" file exists { true } else { false }
317316

318317
# Typically the build system will build the Rust compiler twice. The second
319318
# compiler, however, will simply use its own libraries to link against. If you

0 commit comments

Comments
 (0)