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

Fix src/etc/pre-push.sh when build.locked-deps is already set #112146

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented May 31, 2023

Before, cargo would error:

; git push
Running pre-push script /home/jyn/src/rust/x test tidy
Building bootstrap
    Finished dev [unoptimized] target(s) in 0.02s
Build stage0 tool tidy (x86_64-unknown-linux-gnu)
error: the argument '--locked' cannot be used multiple times

Usage: cargo build [OPTIONS]

For more information, try '--help'.
Build completed unsuccessfully in 0:00:00
error: failed to push some refs to 'github.com:jyn514/rust.git'

…config.toml

Before, cargo would error:
```
; git push
Running pre-push script /home/jyn/src/rust/x test tidy
Building bootstrap
    Finished dev [unoptimized] target(s) in 0.02s
Build stage0 tool tidy (x86_64-unknown-linux-gnu)
error: the argument '--locked' cannot be used multiple times

Usage: cargo build [OPTIONS]

For more information, try '--help'.
Build completed unsuccessfully in 0:00:00
error: failed to push some refs to 'github.com:jyn514/rust.git'
```
@rustbot
Copy link
Collaborator

rustbot commented May 31, 2023

r? @Mark-Simulacrum

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 31, 2023
@jyn514
Copy link
Member Author

jyn514 commented May 31, 2023

r? @clubby789 (thank you for your PR making --set possible!)

@rustbot rustbot assigned clubby789 and unassigned Mark-Simulacrum May 31, 2023
@clubby789
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 31, 2023

📌 Commit f692cf6 has been approved by clubby789

It is now in the queue for this repository.

@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 May 31, 2023
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jun 1, 2023
Fix `src/etc/pre-push.sh` when `build.locked-deps` is already set

Before, cargo would error:
```
; git push
Running pre-push script /home/jyn/src/rust/x test tidy
Building bootstrap
    Finished dev [unoptimized] target(s) in 0.02s
Build stage0 tool tidy (x86_64-unknown-linux-gnu)
error: the argument '--locked' cannot be used multiple times

Usage: cargo build [OPTIONS]

For more information, try '--help'.
Build completed unsuccessfully in 0:00:00
error: failed to push some refs to 'github.com:jyn514/rust.git'
```
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 1, 2023
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#111496 (Extra context for unreachable_pub lint)
 - rust-lang#111802 (Make `x test --dry-run` less verbose)
 - rust-lang#112133 (Migrate GUI colors test to original CSS color format)
 - rust-lang#112146 (Fix `src/etc/pre-push.sh` when `build.locked-deps` is already set)
 - rust-lang#112147 (add inline-const test for elided lifetimes being infer vars)
 - rust-lang#112154 (Fix bug in utf16_to_utf8 for zero length strings)
 - rust-lang#112155 (Improve CGU debug printing.)
 - rust-lang#112173 (Mention GuillaumeGomez in case GUI tests are updated)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 8f0e144 into rust-lang:master Jun 2, 2023
11 checks passed
@rustbot rustbot added this to the 1.72.0 milestone Jun 2, 2023
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.

None yet

5 participants