Skip to content

Commit 072d232

Browse files
committed
docs: Added CARGO_BUILD_DIR_LAYOUT_V2 to unstable docs
1 parent 50d6578 commit 072d232

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/doc/src/reference/unstable.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,6 +2039,9 @@ enabled = true
20392039
Enables the new build-dir filesystem layout.
20402040
This layout change unblocks work towards caching and locking improvements.
20412041

2042+
In addition to `-Zbuild-dir-new-layout`, `CARGO_BUILD_DIR_LAYOUT_V2` also exists as a way to opt in and out of the new layout during the transition period.
2043+
`CARGO_BUILD_DIR_LAYOUT_V2=true` allows users to opt in to the new layout, even on stable.
2044+
`CARGO_BUILD_DIR_LAYOUT_V2=false` allows users to opt out to the new layout. This includes post stablization but it's important to note that this is a temporary flag and will eventually be removed.
20422045

20432046
## compile-time-deps
20442047

0 commit comments

Comments
 (0)