Skip to content

Test all supported LLVM versions at once#58

Merged
xd009642 merged 1 commit intoxd009642:masterfrom
jyn514:tests
Sep 28, 2025
Merged

Test all supported LLVM versions at once#58
xd009642 merged 1 commit intoxd009642:masterfrom
jyn514:tests

Conversation

@jyn514
Copy link
Copy Markdown
Contributor

@jyn514 jyn514 commented Sep 27, 2025

Previously, testing all supported configurations required installing many different versions of rustc manually. Now, it only requires running cargo test --all-features.

This introduces a dependency on rustup. It also introduces a dependency on cargo-binutils with rust-embedded/cargo-binutils#166 merged.

By default, this only tests LLVM 20, which is the latest version currently available on stable rust.

cc #57

@jyn514 jyn514 force-pushed the tests branch 4 times, most recently from 8bb14d2 to f965655 Compare September 27, 2025 05:39
Comment thread tests/profdata.rs Outdated
Comment thread tests/profdata.rs
@jyn514
Copy link
Copy Markdown
Contributor Author

jyn514 commented Sep 27, 2025

Updated this to pull in your fix for the LLVM 16 thing on main, this should be ready for review again :)

@xd009642
Copy link
Copy Markdown
Owner

Cool, I'll try and give it a look today - though I merged in the other one as it's smaller so conflicts need sorting 😅

Copy link
Copy Markdown
Owner

@xd009642 xd009642 left a comment

Choose a reason for hiding this comment

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

Just one question mainly, otherwise looks good.

Comment thread .github/workflows/ci.yml Outdated
Previously, testing all supported configurations required installing
many different versions of rustc manually. Now, it only requires running
`cargo test --all-features`.

This introduces a dependency on `rustup`. It also introduces a
dependency on `cargo-binutils` with 166 merged. Note that PR has not yet
been merged at time of writing.

By default, this only tests LLVM 20, which is the latest version
currently available on stable rust.
@xd009642 xd009642 merged commit dd3b2c4 into xd009642:master Sep 28, 2025
6 checks passed
@jyn514 jyn514 deleted the tests branch September 29, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants