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

Rust 2015 edition support #85

Open
ratijas opened this issue Sep 6, 2020 · 0 comments
Open

Rust 2015 edition support #85

ratijas opened this issue Sep 6, 2020 · 0 comments

Comments

@ratijas
Copy link
Contributor

ratijas commented Sep 6, 2020

In the current state, this crate works with Rust 2015 only under a specific conditions: explicit extern crate core; must be added to the top of the project's main file — otherwise compiler gives a lot of weird warnings per square inch of code. This is required because PR #78 introduced ::core paths instead of ::std paths for better compatibility with #[no_std]. More on topic here: https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html.

This conflict should be either a documented 'feature', or somehow mitigated via code.

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