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

there's unstable feature no_core #1358

Open
bingmatv opened this issue Nov 20, 2024 · 1 comment
Open

there's unstable feature no_core #1358

bingmatv opened this issue Nov 20, 2024 · 1 comment

Comments

@bingmatv
Copy link

There's unstable feature

#![no_core]

Is it useful for developing OS?

@bjorn3
Copy link
Contributor

bjorn3 commented Nov 20, 2024

No, it is not useful at all. It is completely useless for any code that a user of rust will write. #![no_core] is super unstable and requires defining a ton of language items and compiler intrinsics with any mistake potentially causing the compiler itself to crash. The only reason it exists at all is because libcore needs it to avoid depending on itself.

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

No branches or pull requests

2 participants