Skip to content

Commit

Permalink
fix: Rust build (#255)
Browse files Browse the repository at this point in the history
* try

* fix

* fix

* cleanup
  • Loading branch information
Mr-Leshiy authored May 31, 2024
1 parent 17106cf commit 03a7bd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions earthly/rust/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,6 @@ installer:
# Set the mount cache env vars
DO rust+SET_CACHE_MOUNTS_ENV

# Install the default cargo config, and ensure its in the cached CARGO_HOME as well.
COPY stdcfgs/cargo_config.toml $CARGO_INSTALL_ROOT/config.toml
DO +EXECUTE --cmd="cp $CARGO_INSTALL_ROOT/config.toml $CARGO_HOME/config.toml"

# Universal build scripts we will always need and are not target dependent.
COPY --dir scripts /scripts
# Copy our common scripts so we can use them inside the container.
Expand Down
2 changes: 1 addition & 1 deletion earthly/rust/scripts/std_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def main():

results.add(
vendor_files_check.toml_diff_check(
f"{os.environ.get('CARGO_HOME')}/config.toml", ".cargo/config.toml"
f"/stdcfgs/cargo_config.toml", ".cargo/config.toml"
)
)
if rust_toolchain_enabled:
Expand Down

0 comments on commit 03a7bd7

Please sign in to comment.