This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Set current dir at check_wasm_toolchain_installed at wasm-builder #10284
Merged
paritytech-processbot
merged 3 commits into
paritytech:master
from
humanode-network:wasm-builder-fix
Nov 18, 2021
Merged
Set current dir at check_wasm_toolchain_installed at wasm-builder #10284
paritytech-processbot
merged 3 commits into
paritytech:master
from
humanode-network:wasm-builder-fix
Nov 18, 2021
Conversation
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
MOZGIII
changed the title
Set current dir at check_wasm_toolchain_installed
Set current dir at check_wasm_toolchain_installed at wasm-builder
Nov 16, 2021
bkchr
approved these changes
Nov 17, 2021
bkchr
added
A2-insubstantial
Pull request requires no code review (e.g., a sub-repository hash update).
B0-silent
Changes should not be mentioned in any release notes
C1-low
PR touches the given topic and has a low impact on builders.
labels
Nov 17, 2021
bkchr
reviewed
Nov 17, 2021
@@ -120,6 +120,7 @@ fn check_wasm_toolchain_installed( | |||
let manifest_path = temp.path().join("Cargo.toml").display().to_string(); | |||
|
|||
let mut build_cmd = cargo_command.command(); | |||
build_cmd.current_dir(&temp); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add a comment here for what this is.
And please merge master to make cargo fmt happy. |
Code review comments addressed, ready to proceed. |
bkchr
added
the
D3-trivial 🧸
PR contains trivial changes in a runtime directory that do not require an audit
label
Nov 18, 2021
bot merge |
Waiting for commit status. |
Bot will approve on the behalf of @bkchr, since they are a team lead, in an attempt to reach the minimum approval count |
grishasobol
pushed a commit
to gear-tech/substrate
that referenced
this pull request
Mar 28, 2022
…ritytech#10284) * Set current dir at check_wasm_toolchain_installed * Add comments
bernardo-xxnet
pushed a commit
to xx-labs/substrate
that referenced
this pull request
May 26, 2022
…ritytech#10284) * Set current dir at check_wasm_toolchain_installed * Add comments
ark0f
pushed a commit
to gear-tech/substrate
that referenced
this pull request
Feb 27, 2023
…ritytech#10284) * Set current dir at check_wasm_toolchain_installed * Add comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A2-insubstantial
Pull request requires no code review (e.g., a sub-repository hash update).
B0-silent
Changes should not be mentioned in any release notes
C1-low
PR touches the given topic and has a low impact on builders.
D3-trivial 🧸
PR contains trivial changes in a runtime directory that do not require an audit
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an addition to #9926, #9926 (comment).
This takes care of the case where the project root contains
.cargo
dir, and the code is executing in Github Actions. Long story short, for some reason with this combination, the project's.cargo/config.toml
is picked up.This change makes it work.