This commit is contained in:
user1823 2026-01-06 18:03:14 +00:00 committed by GitHub
commit 9a77854aa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View file

@ -13,3 +13,6 @@ color = "always"
[target.'cfg(all(target_env = "msvc", target_os = "windows"))']
rustflags = ["-C", "target-feature=+crt-static"]
[build]
target-dir = "out/rust"

View file

@ -151,9 +151,10 @@ Cargo, yarn and pip all cache downloads of dependencies in a shared cache that
other builds on your system may use as well. If you wish to clear up those caches,
they can be found in `~/.rustup`, `~/.cargo` and `~/.cache/{yarn,pip}`.
If you invoke Rust outside of the build scripts (eg by running cargo, or
with Rust Analyzer), output files will go into `target/` unless you have
overriden the default output location.
With previous versions, if you invoked Rust outside of the build scripts (e.g., by
running cargo, or with Rust Analyzer), output files would go into `target/` unless
you had overridden the default output location. If you are up-to-date with the
current main branch, you may want to delete the `target/` folder.
## IDEs