-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36515a4
commit 7c0d526
Showing
5 changed files
with
12 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/target | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#!/bin/env sh | ||
|
||
# Gets clobbered, so make a backup. | ||
export SET_CARGO_MANIFEST_PATH="$CARGO_MANIFEST_PATH" | ||
export SET_CARGO_MANIFEST_DIR="$CARGO_MANIFEST_DIR" | ||
# Use a different target directory because the workspace-level one will be locked. | ||
cargo build --release --target-dir tools/rustdoc-wrapper/target | ||
# Pass on all arguments to our rustdoc wrapper. | ||
# Use a different target directory because the workspace-level one | ||
# will be locked. | ||
cargo run --package rustdoc-wrapper --target-dir tools/rustdoc-wrapper/target --color always -- "$@" | ||
tools/rustdoc-wrapper/target/release/rustdoc-wrapper "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters