Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upbook: no-stdlib example doesn't need to use no_mangle for lang items #41925
Comments
This comment has been minimized.
This comment has been minimized.
|
Two things:
|
steveklabnik
closed this
May 15, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
joshtriplett commentedMay 11, 2017
The examples in https://doc.rust-lang.org/book/no-stdlib.html use no_mangle for all of the items; however, some discussion on IRC suggested that the language items (everything other than the start symbol) don't actually need no_mangle. Could we simplify the example to use only the minimal directives and unstable features required?
That'll also help to evaluate what features would need to be stabilized to make this work on stable Rust.