Skip to content

Conversation

@sunshowers
Copy link
Contributor

@sunshowers sunshowers commented Sep 25, 2025

Followup to #947. While the inventory crate is busted on illumos with Rust 1.89 and above, it appears (based on my local testing) that the linkme crate works okay.

Also migrate rust-toolchain.toml to 1.90, bump Dropshot, and fix clippy warnings.

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@sunshowers sunshowers changed the title try moving phd-tests to linkme move phd-tests to linkme, update Rust to 1.90 Sep 25, 2025
Copy link
Member

@iximeow iximeow left a comment

Choose a reason for hiding this comment

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

ah neat, this presumably works because while the used(linker) attribute still gets a bogus bit set, all the sections for the linkme slice elements are merged together since their section flags are at the same with that bit set. so we end up with one contiguous slice of the elements after linking.

@sunshowers sunshowers merged commit c39f25f into master Sep 26, 2025
11 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/try-moving-phd-tests-to-linkme branch September 26, 2025 00:42
iximeow added a commit to oxidecomputer/omicron that referenced this pull request Oct 18, 2025
Propolis changes:

* oxidecomputer/propolis#950
* oxidecomputer/propolis#952
* oxidecomputer/propolis#951
* oxidecomputer/propolis#954
* oxidecomputer/propolis#957
* oxidecomputer/propolis#960
* oxidecomputer/propolis#961
* oxidecomputer/propolis#955

Crucible changes:

* oxidecomputer/crucible#1773
* oxidecomputer/crucible#1774
* oxidecomputer/crucible#1780
* oxidecomputer/crucible#1778

Crucible shouldn't have functional changes here, Propolis' big ones are
@sunshowers' work moving Propolis to versioned APIs, plus propolis#960
turning the crank on MAXCPU.

propolis#961 changes the initial Milan CPU profile one last time before
the release in service of propolis#959. Propolis will clear [this
bit](https://github.com/oxidecomputer/omicron/blob/d74f5e3f1ae0a378dcdb9795a0ada2426702b046/nexus/src/app/instance_platform/cpu_platform.rs#L423).
Later we want to actually set up leaf 8000_001E, so after this merges
I'll have a followup to remove that leaf from the inital Milan
definition to keep the profile constant when `propolis-server` is
smarter about the leaf.
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