Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the default location where cargo install emitting build artifacts #9189

Merged
merged 4 commits into from
Feb 20, 2021

Conversation

weihanglo
Copy link
Member

Resolves #9137

Document the default location where cargo install emitting build artifacts.

@rust-highfive
Copy link

r? @Eh2406

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 19, 2021
@weihanglo weihanglo changed the title Issue 9137 Document the default location where cargo install emitting build artifacts Feb 19, 2021
@Eh2406
Copy link
Contributor

Eh2406 commented Feb 19, 2021

@ehuss does it look like the code generation is done correctly?

Comment on lines 5 to 6
{{#if temp-target-dir}} Defaults to a new temporary folder located in the
temporary directory of the platform.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is some subtly here that I think should be included. When using cargo install --path, it will use the target directory in the workspace. Can you include that, too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting this 😄. The text has been updated.

@ehuss
Copy link
Contributor

ehuss commented Feb 20, 2021

Thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 20, 2021

📌 Commit a706292 has been approved by ehuss

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 20, 2021
@bors
Copy link
Collaborator

bors commented Feb 20, 2021

⌛ Testing commit a706292 with merge 51a437d...

@bors
Copy link
Collaborator

bors commented Feb 20, 2021

☀️ Test successful - checks-actions
Approved by: ehuss
Pushing 51a437d to master...

@bors bors merged commit 51a437d into rust-lang:master Feb 20, 2021
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Feb 27, 2021
Update cargo

11 commits in bf5a5d5e5d3ae842a63bfce6d070dfd438cf6070..572e201536dc2e4920346e28037b63c0f4d88b3c
2021-02-18 15:49:14 +0000 to 2021-02-24 16:51:20 +0000
- Pass the error message format to rustdoc (rust-lang/cargo#9128)
- Fix test target_in_environment_contains_lower_case (rust-lang/cargo#9203)
- Fix hang on broken stderr. (rust-lang/cargo#9201)
- Make it more clear which module is being tested when running cargo test (rust-lang/cargo#9195)
- Updates to edition handling. (rust-lang/cargo#9184)
- Add --cfg and --rustc-cfg flags to output compiler configuration (rust-lang/cargo#9002)
- Run rustdoc doctests relative to the workspace (rust-lang/cargo#9105)
- Add support for [env] section in .cargo/config.toml (rust-lang/cargo#9175)
- Add schema field and `features2` to the index. (rust-lang/cargo#9161)
- Document the default location where cargo install emitting build artifacts (rust-lang/cargo#9189)
- Do not exit prematurely if anything failed installing. (rust-lang/cargo#9185)
@weihanglo weihanglo deleted the issue-9137 branch April 23, 2021 15:06
@ehuss ehuss added this to the 1.52.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect document regarding default value of --target-dir of cargo install
5 participants