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

Initiative: trusted external static declarations #149

Open
nikomatsakis opened this issue Mar 15, 2022 · 3 comments
Open

Initiative: trusted external static declarations #149

nikomatsakis opened this issue Mar 15, 2022 · 3 comments
Assignees
Labels
lang-initiative An active lang team initiative T-lang

Comments

@nikomatsakis
Copy link
Contributor

nikomatsakis commented Mar 15, 2022

Summary

Provide a way to declare "trusted statics" that, even though they are declared in a C file, are not unsafe to use (just to declare).

Info

What is this issue?

This issue represents an active initiative. It is meant to be used for
the group to post updates to the lang team (and others) in a lightweight
fashion. Please do not use the comments here for discussion, that should be kept
in the Zulip stream (discussion comments here will be marked as off-topic).

@nikomatsakis nikomatsakis added lang-initiative An active lang team initiative T-lang labels Mar 15, 2022
@nikomatsakis nikomatsakis self-assigned this Mar 15, 2022
@nikomatsakis nikomatsakis changed the title Initiative: trusted external static declarations #118 (My meeting proposal) Initiative: trusted external static declarations Mar 15, 2022
@nikomatsakis nikomatsakis moved this to Experimental in Initiatives Mar 15, 2022
@RalfJung
Copy link
Member

@HyeonuPark
Copy link

The active initiative link is broken. I guess it should be .html not .md?

@madsmtm
Copy link

madsmtm commented Jun 11, 2023

A new RFC rust-lang/rfcs#3439 has been proposed, which end up making external statics unsafe to declare but safe to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-initiative An active lang team initiative T-lang
Projects
Status: Experimental
Development

No branches or pull requests

4 participants