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

Support additional memory protection flag combinations #1864

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

BCSharp
Copy link
Member

@BCSharp BCSharp commented Jan 5, 2025

One test is failing on my macOS (using Sequoia on ARM64). I have traced it to python/cpython#107888. I wonder what will happen on CI.

It turns out that test_mmap passes on .NET 6.0 on Linux, but not on macOS. Go figure. Anyway, I've relaxed the test run condition accordingly.

I have enabled some more tests that were marked TODO. It required some small and self-evident modifications to the test in StdLib. I've left comments at those places, in case there are some merge conflicts with later Python branches.

Copy link
Contributor

@slozier slozier left a comment

Choose a reason for hiding this comment

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

It's a bit unfortunate about not being able to use sys.maxsize. Checking the 32/64-bitness seems to be one of its main uses. Perhaps we should change it...

@slozier slozier merged commit aaf701d into IronLanguages:main Jan 6, 2025
8 checks passed
@BCSharp BCSharp deleted the mmap_prot_exec branch January 6, 2025 03:50
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.

2 participants