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

Rename invalid_mut to without_provenance_mut #123

Merged
merged 11 commits into from
Feb 29, 2024

Conversation

rice7th
Copy link
Contributor

@rice7th rice7th commented Feb 25, 2024

Fixes #122

NOTE: Also Origin needs these changes apparently.

@rice7th
Copy link
Contributor Author

rice7th commented Feb 27, 2024

OK @sunfishcode I've setup the CI on my own fork and it's working good! Unfortunately, c-scape and c-gull have trouble selecting the correct origin version. I am currently looking into the problem, and I will keep you updated on any changes.

@rice7th
Copy link
Contributor Author

rice7th commented Feb 27, 2024

@sunfishcode now everything should be fixed! The CI passes every platform and all tests pass as expected.

Note that I bumped the crate version since origin 0.18 changed some features that were reflected in some changes to the Cargo.toml of c-scape.
Thus, to prevent any immediate breaking change, I bumped c-ward's version number. Unfortunately this means that Eyra and Mustang require modifications to their versions too, with subsequent nightly version bumps (which stabilized of lot of things) and crate version bumps.

Copy link
Owner

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

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

Overall looks good; just too minor comments:

@@ -64,7 +64,7 @@ static_assertions = "1.1.0"

[features]
default = ["thread", "std", "coexist-with-libc", "threadsafe-setenv", "use-compiler-builtins"]
thread = ["origin/set_thread_id"]
thread = [] # set_thread_id is not behind a feature anymore.
Copy link
Owner

Choose a reason for hiding this comment

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

Reading this comment from the perspective of someone new to the codebase, this comment comes across as "this thing you haven't heard of doesn't exist anymore" ;-). While comments are good in general, I think we can just leave this one out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I'll delete the comment then

Cargo.toml Outdated
@@ -1,6 +1,6 @@
[package]
name = "c-ward"
version = "0.15.40"
Copy link
Owner

Choose a reason for hiding this comment

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

Here and in the other Cargo.toml files, it's not necessary to bump the version number; I use cargo release to do the releases, which will do the bump automatically.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh ok, i'll then revert the changes

@rice7th
Copy link
Contributor Author

rice7th commented Feb 28, 2024

@sunfishcode everything should be fixed now!

@sunfishcode sunfishcode merged commit 9eab06a into sunfishcode:main Feb 29, 2024
5 checks passed
@sunfishcode
Copy link
Owner

Thanks!

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.

no invalid_mut in ptr
2 participants