Doesn't compile with latest rust-nightly (macro_export has been removed)
thejpster opened this issue · 6 comments
thejpster commented
I see this compiling on today's nightly. I don't know how long it's been broken as I haven't updated in a little while.
Compiling tm4c123x v0.6.0
error[E0557]: feature has been removed
--> /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/tm4c123x-0.6.0/src/lib.rs:2:37
|
2 | #![cfg_attr(feature = "rt", feature(macro_reexport))]
| ^^^^^^^^^^^^^^
|
note: subsumed by `#![feature(use_extern_macros)]` and `pub use`
--> /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/tm4c123x-0.6.0/src/lib.rs:2:37
|
2 | #![cfg_attr(feature = "rt", feature(macro_reexport))]
| ^^^^^^^^^^^^^^
error[E0658]: The attribute `macro_reexport` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
--> /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/tm4c123x-0.6.0/src/lib.rs:13:1
|
13 | #[macro_reexport(default_handler, exception)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error: aborting due to 2 previous errors
Some errors occurred: E0557, E0658.
For more information about an error, try `rustc --explain E0557`.
error: Could not compile `tm4c123x`.
whitequark commented
Thanks. Do you mind fixing this? I gave you commit bit.
whitequark commented
Actually, I need to push a new version so might as well fix that meanwhile.
thejpster commented
I think this is an https://github.com/japaric/svd2rust issue. I'll check if it's fixed there.
thejpster commented
thejpster commented
That is an absurdly fast response. Props.
whitequark commented
0.6.1 released