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

lint private_no_mangle_fns/private_no_mangle_statics has been removed #96

Open
nanocryk opened this issue Jan 3, 2019 · 0 comments
Open

Comments

@nanocryk
Copy link

nanocryk commented Jan 3, 2019

When compiling in nightly rustc 1.33.0-nightly (fb86d604b 2018-12-27) or stable rustc 1.31.1 (b6c32da9b 2018-12-18), the following errors appears :

error: lint `private_no_mangle_fns` has been removed: `no longer a warning, #[no_mangle] functions always exported`
   --> src/lib.rs:229:5
    |
229 |     private_no_mangle_fns,
    |     ^^^^^^^^^^^^^^^^^^^^^
    |
note: lint level defined here
   --> src/lib.rs:219:5
    |
219 |     warnings
    |     ^^^^^^^^
    = note: #[forbid(renamed_and_removed_lints)] implied by #[forbid(warnings)]

error: lint `private_no_mangle_statics` has been removed: `no longer a warning, #[no_mangle] statics always exported`
   --> src/lib.rs:230:5
    |
230 |     private_no_mangle_statics,
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

error: Could not compile `p2p`.

Removing both deny lints allow to build.

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

1 participant