Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge master into next #486

Merged
merged 71 commits into from
May 22, 2024
Merged

merge master into next #486

merged 71 commits into from
May 22, 2024

Conversation

Freax13
Copy link
Member

@Freax13 Freax13 commented May 22, 2024

This PR syncs next with master.

josephlr and others added 30 commits February 9, 2024 18:25
This will be the last non-breaking release before v0.15

Updates the Changelog to include all changes (except for those related
to testing/CI).

Signed-off-by: Joe Richey <joerichey@google.com>
This switches to using the sparse index as reccomended by:
https://crates.io/data-access#api

Once merged, this should automatically release v0.14.12 (see #457).

Signed-off-by: Joe Richey <joerichey@google.com>
Update data layout of test target for LLVM 18
This eliminates the call to unwrap which the compiler can't easily
optimize out.
This eliminates a panic branch.
The last two commits introduced some shortcuts that are less obviously
correct. Using unsafe is inherently risky, so we better be sure that
the code is correct.
The proof harnesses added in this patch can be used to proof that our
implementation is correct for all inputs.
We can't constify the public methods because const traits are not yet
stable, but we can introduce private const methods that don't use
traits. We'll use these internally in other const methods.
doc: added help on update_flags to get flags
Feat: add constructor for `InterruptStackFrameValue`
Starting with 0.15, the addition operator will no longer implicitly
jump the gap in the address space. Instead, we can use Step::forward.
properly jump the address gap in CleanUp
The constant is Sealed::DEBUG_STR was also already exposed to users
in its subtraits, but due to Sealed being unnamable reading DEBUG_STR
was somewhat difficult. Moving the associated constants from the
supertrait into the subtraits isn't a breaking change and makes it a
bit more convenient to reference.
mkroening and others added 25 commits April 4, 2024 17:45
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
docs: add aliases for `in{,b,w,l}` and `out{,b,w,l}`
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
ci: migrate away from unmaintained actions
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
chore: migrate from legacy `rust-toolchain` to `rust-toolchain.toml`
test: replace `x86_64-bare-metal.json` with `x86_64-unknown-none`
In d3b9c05, we switched our test framework to the built-in x86_64-unknown-none target. This required a `-Crelocation-model=static` flag to work with bootloader v0.9, which we set using a `build.rustflags` config key.

In 2eb838d, we set a `RUSTFLAGS` env variable on CI to deny warnings.

Unfortunately, the above two commits conflict because the `RUSTFLAGS` env variable takes precedence over the `build.rustflags` key. This commit fixes this by setting an explicit `RUSTFLAGS` value for the bootloader test job that contains both flags.
CI: Set `-Crelocation-model=static` in `RUSTFLAGS` for bootloader test job
A build on non-x86_64 platforms with the `instructions` feature enabled should not results in lots of inline assembly errors.
* remove mention of doc_cfg feature

`doc_cfg` has been superseded by `doc_auto_cfg`.

* allow `cfg(kani)`

Recently, rustc has started checking cfg expressions and so we have to
tell it explicitly that cfg(kani) is allowed because it has no way of
figuring that out itself.
@Freax13 Freax13 merged commit f53cbec into next May 22, 2024
53 checks passed
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.

7 participants