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

rebis-dev cargo fmt and Clippy #2831

Open
wants to merge 16 commits into
base: rebis-dev
Choose a base branch
from
Open

Conversation

bakaq
Copy link
Contributor

@bakaq bakaq commented Feb 19, 2025

This runs cargo fmt (to make CI happy) and fixes the Clippy warnings (so that we can benefit from its advice without noise).

The diff for cargo fmt is quite big, so it may be better if you do this locally. Manually fixing the warnings wasn't trivial though.

Notice that the test that failed here is also failing in the current rebis-dev, so nothing regressed.

mthom and others added 11 commits October 26, 2024 12:44
This one was a toughie: it turns out that using `ptr::align_of()`` was
a bad idea, since the buffer in `Heap` itself is not aligned to
`Heap::heap_cell_alignment()`, so `ptr::align_of()` would sometimes
return lower values than expected.

That made for an heisenbug: if the alignment of the heap happened to be 4,
then the bug wouldn't trigger.
rebis-dev: Fix UB detected by miri in tests
@Skgland
Copy link
Contributor

Skgland commented Feb 20, 2025

Could you try cherry picking the commit from #2793 to fix CI?

@Skgland
Copy link
Contributor

Skgland commented Feb 20, 2025

Mh, macos has a segmentation fault, nightly and 1.77 fail to compile and the rest have the same single test failure.

Edit: Its is wasm job that fails to compile not the normal nightly build.

@bakaq
Copy link
Contributor Author

bakaq commented Feb 20, 2025

The single test failure is the one I mentioned in the OP. I've been able to get 1.77 to compile.

@adri326
Copy link
Contributor

adri326 commented Feb 21, 2025

The tests should start passing again with #2759

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.

4 participants