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

Chore: Fix cargo release for Object::from_ref #5867

Merged
merged 6 commits into from
Oct 29, 2024

Conversation

MikaelMayer
Copy link
Member

This PR should run all deep tests and pass before being merged, so that the test cargoreleasefailurefix.dfy passes

Description

This PR adds more black-boxing around a critical function so that the compiler won't optimize things away by for example moving the increment strong count and the assignments to previous_strong_count, which could have caused panicking;

How has this been tested?

All deep tests should pass, so that cargoreleasefailurefix.dfy is tested for each supported architecture

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

This PR should run all deep tests and pass before being merged, so that the test cargoreleasefailurefix.dfy passes
@MikaelMayer MikaelMayer enabled auto-merge (squash) October 29, 2024 16:53
@MikaelMayer MikaelMayer enabled auto-merge (squash) October 29, 2024 17:29
@MikaelMayer MikaelMayer merged commit 30b94b3 into master Oct 29, 2024
31 of 32 checks passed
@MikaelMayer MikaelMayer deleted the chore-fix-cargo-release branch October 29, 2024 17:56
MikaelMayer added a commit that referenced this pull request Oct 29, 2024
This PR should run all deep tests and pass before being merged, so that
the test cargoreleasefailurefix.dfy passes

### Description
This PR adds more black-boxing around a critical function so that the
compiler won't optimize things away by for example moving the increment
strong count and the assignments to `previous_strong_count`, which could
have caused panicking;

### How has this been tested?
All deep tests should pass, so that cargoreleasefailurefix.dfy is tested
for each supported architecture

<small>By submitting this pull request, I confirm that my contribution
is made under the terms of the [MIT
license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-deep-tests Tells CI to run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants