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

book: no-stdlib example doesn't need to use no_mangle for lang items #41925

Closed
joshtriplett opened this Issue May 11, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@joshtriplett
Copy link
Member

joshtriplett commented May 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.

@steveklabnik

This comment has been minimized.

Copy link
Member

steveklabnik commented May 15, 2017

Two things:

  1. The book now lives at https://github.com/rust-lang/book so issues should be filed there.
  2. We aren't tracking issues on the old book anymore; if you want to do this, please send in a PR! Thanks 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.