Repository navigation
Fixes usdt feature dependency resolution bug - #496
Conversation
- Adds the Dropshot `usdt-probes` feature to every crate depending on both Dropshot and `slog-dtrace`. Leaving this feature out causes build failures when compiling packages individually, as the selected `usdt` feature actually includes inline assembly, but Dropshot does not include the right feature-selection crate attribute. This works when building the whole workspace, since all features are unioned. - Adds a `check` subcommand to `omicron-package`, that runs `cargo check` instead of `cargo build`. This is also run during CI now, to catch regressions here, at least for the crates that we package via `omicron-package`. Removes the toolchain specifications from CI files, as they are duplicated in the rust-toolchain.toml file. update note about rust-toolchain duplication in CI files Update dropshot dependency to pull in fixes for feature-selection
|
Ok, I understand the problem now. The checks that are not reporting are specifically those for the strategy matrix that includes a toolchain dimension. This PR specifically removes that dimension from the matrix, so they by definition can never be reported. The solution really is to remove these as checks that block merging this PR specifically. It does raise the question of how one is supposed to merge PRs that include changes to the set of checks in general. As a further note, the new "versions" of the |
|
@davepacheco Has granted me admin access. I'm going to disable the impossible checks, merge this PR, and then enable the checks that are now valid. |
usdt-probesfeature to every crate depending onboth Dropshot and
slog-dtrace. Leaving this feature out causes buildfailures when compiling packages individually, as the selected
usdtfeature actually includes inline assembly, but Dropshot does not
include the right feature-selection crate attribute. This works when
building the whole workspace, since all features are unioned.
checksubcommand toomicron-package, that runscargo checkinstead ofcargo build. This is also run during CI now, tocatch regressions here, at least for the crates that we package via
omicron-package.Removes the toolchain specifications from CI files, as they are
duplicated in the rust-toolchain.toml file.
update note about rust-toolchain duplication in CI files
Update dropshot dependency to pull in fixes for feature-selection