Skip to content

[Coding Rule]: assure visibility of unsafe keyword in unsafe code#358

Open
rcseacord wants to merge 9 commits intorustfoundation:mainfrom
rcseacord:guideline/unsafetoken
Open

[Coding Rule]: assure visibility of unsafe keyword in unsafe code#358
rcseacord wants to merge 9 commits intorustfoundation:mainfrom
rcseacord:guideline/unsafetoken

Conversation

@rcseacord
Copy link
Collaborator

Created PR for #252 by @workingjubilee

@netlify
Copy link

netlify bot commented Jan 2, 2026

Deploy Preview for scrc-coding-guidelines ready!

Name Link
🔨 Latest commit fe6c44f
🔍 Latest deploy log https://app.netlify.com/projects/scrc-coding-guidelines/deploys/697fe58b63e6dc0008c5b684
😎 Deploy Preview https://deploy-preview-358--scrc-coding-guidelines.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@rcseacord rcseacord changed the title [Coding Rule]: assure visibility of unsafe tokens in unsafe code [Coding Rule]: assure visibility of unsafe keyword in unsafe code Jan 4, 2026
rcseacord and others added 8 commits February 2, 2026 07:04
Updated guideline to ensure visibility of unsafe tokens in unsafe code, reflecting changes in Rust Edition 2024. Added rationale and examples to clarify requirements.
Update guideline to ensure visibility of 'unsafe' keyword in unsafe code, reflecting changes in Rust Edition 2024.
Clarify issues with using #[export_name] and #[link_section] attributes without unsafe wrappers in Rust 2024.
Removed visibility section and updated examples for compliance with Rust Edition 2024. Clarified unsafe usage in function declarations and attributes.
Removed exceptions section and added safety notes for unsafe attributes.
@PLeVasseur PLeVasseur force-pushed the guideline/unsafetoken branch from d8d653b to e1044d5 Compare February 1, 2026 22:31
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