Skip to content

Conversation

djc
Copy link
Contributor

@djc djc commented Jan 30, 2021

@ehuss is something like this what you had in mind? Should we add tests to make sure this works correctly?

@rust-highfive
Copy link

r? @ehuss

(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 Jan 30, 2021
@ehuss
Copy link
Contributor

ehuss commented Jan 30, 2021

Yea, I think for the test the following change should be sufficient:

diff --git a/tests/testsuite/rust_version.rs b/tests/testsuite/rust_version.rs
index b3d4353bb..7792cbee1 100644
--- a/tests/testsuite/rust_version.rs
+++ b/tests/testsuite/rust_version.rs
@@ -11,7 +11,7 @@ fn rust_version_gated() {
                 [package]
                 name = "foo"
                 version = "0.0.1"
-                rust-version = "1.17"
+                rust-version = "1.9999"
             "#,
         )
         .file("src/lib.rs", "")
@@ -31,7 +31,7 @@ fn rust_version_gated() {
                 [package]
                 name = "foo"
                 version = "0.0.1"
-                rust-version = "1.17"
+                rust-version = "1.9999"
             "#,
         )
         .file("src/lib.rs", "")

@djc djc force-pushed the fix-msrv-handling branch from e986540 to 040d27f Compare January 30, 2021 22:14
@ehuss
Copy link
Contributor

ehuss commented Jan 30, 2021

Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Jan 30, 2021

📌 Commit 040d27f 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 Jan 30, 2021
@bors
Copy link
Contributor

bors commented Jan 30, 2021

⌛ Testing commit 040d27f with merge c5f7fa1...

@bors
Copy link
Contributor

bors commented Jan 30, 2021

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

@bors bors merged commit c5f7fa1 into rust-lang:master Jan 30, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 2, 2021
Update cargo

5 commits in c3abcfe8a75901c7c701557a728941e8fb19399e..e099df243bb2495b9b197f79c19f124032b1e778
2021-01-25 16:16:43 +0000 to 2021-02-01 16:24:34 +0000
- Impl warn for locked install without Cargo.lock (rust-lang/cargo#9108)
- Document -Z extra-link-arg. (rust-lang/cargo#9121)
- Flip 'foo' and 'bar' to be consistent (rust-lang/cargo#9120)
- Don't try to parse MSRV if feature is not enabled (rust-lang/cargo#9115)
- simplify char range check (rust-lang/cargo#9110)
@ehuss ehuss added this to the 1.51.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.

4 participants