Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Dec 8, 2023
1 parent e81b899 commit 50a1c79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions earthly/rust/scripts/std_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ source "$(dirname "$0")/colors.sh"

rc=0

export RUSTDOCFLAGS="--enable-index-page -Zunstable-options"

## Build the code
status $rc "Building all code in the workspace" \
cargo build --release --workspace --locked; rc=$?
Expand Down
3 changes: 3 additions & 0 deletions earthly/rust/stdcfgs/cargo_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ rustflags = [
]

rustdocflags = [
"--enable-index-page",
"-Z",
"unstable-options",
"-D",
"warnings",
"-D",
Expand Down
3 changes: 3 additions & 0 deletions examples/rust/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ rustflags = [
]

rustdocflags = [
"--enable-index-page",
"-Z",
"unstable-options",
"-D",
"warnings",
"-D",
Expand Down

0 comments on commit 50a1c79

Please sign in to comment.