Skip to content

first part of unsafe functions/blocks - #1031

Closed
nikomatsakis wants to merge 16 commits into
rust-lang:masterfrom
nikomatsakis:master
Closed

nikomatsakis wants to merge 16 commits into
rust-lang:masterfrom
nikomatsakis:master

Conversation

@nikomatsakis

Copy link
Copy Markdown
Contributor

This set of commits extends the parser so that it supports unsafe function and block declarations, but does not do any unsafe checking. That'll come later once there is a snapshot that can part unsafe functions/blocks.

coastalwhite pushed a commit to coastalwhite/rust that referenced this pull request Aug 5, 2023
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
* Hook up unwind attribute to Kani

* Add tests and make Harness, a required argument

* Refactor tests and replace --unwind with --default-unwind
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
1031: Move most things out of ra_ide_api_light r=matklad a=detrumi

This moves everything except `structure` out of `ra_ide_api_light`. So this PR and rust-lang#1019 finish up rust-lang#1009, whichever is merged last should probably remove the `ra_ide_api_light` crate.

Also, `LocalEdit` was removed since it wasn't used any more.

Co-authored-by: Wilco Kusee <wilcokusee@gmail.com>
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
Refactor ptr_offset_inbounds

I finally found a way to write this using basically just `check_ptr_access` while handling all cases (integers and pointers, offset 0 or not) correctly. This changes behavior for NULL ptrs, but I think the change is for the better.

Depends on rust-lang#66081.
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.

1 participant