Repository navigation
Conversation
Member
Author
|
Note: trybuild requires rust 1.88 which is higher than our MSRV (1.85). I think that's OK eince it's only supposed to run in CI, pointing it out just in case. Running the trybuild tests on an older rust likely breaks anyway because the error messages change. |
| TRYBUILD=overwrite cargo test --package cortex-m-rt --test compile_fail --features device | ||
| ``` | ||
|
|
||
| and review the result before committing. The expected output is tied to the current stable |
Contributor
There was a problem hiding this comment.
Don't we pin the version we test with? So "selected" or "pinned" rather than "current"?
Member
Author
There was a problem hiding this comment.
MSRV is pinned, latest stable is not.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
compiletest-rs is broken in Rust 1.100 because the build dir layout changed. This switches to
This removes 5 ignored tests. They were trying to test that we error if
#[exception]and#[entry]fns are not reachable from the crate root because prehistoric Rust wouldn't pass them to the linker. I've checked this was the case up to rust 1.30 and not the case in 1.31+ anymore, presumably fixed in rust-lang/rust#54451 . So, these tests are no longer needed.LLMs were used in the making of this PR