update rust nightly #23

Closed
opened 2020-04-26 18:40:04 +08:00 by sb10q · 1 comment

Needed for https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#resolver

But nightly-2020-04-25 fails with:

Compiling alloc v0.0.0 (/run/user/1000/xargo.JvAuiln8dawn)
error[E0522]: definition of an unknown language item: `rc`
   --> /nix/store/702z0r414f4yb30pip0cf7p9pm5mfsyh-rust-94d3463/src/liballoc/rc.rs:282:23
    |
282 | #[cfg_attr(not(test), lang = "rc")]
    |                       ^^^^^^^^^^^ definition of unknown language item `rc`

error[E0522]: definition of an unknown language item: `arc`
   --> /nix/store/702z0r414f4yb30pip0cf7p9pm5mfsyh-rust-94d3463/src/liballoc/sync.rs:210:23
    |
210 | #[cfg_attr(not(test), lang = "arc")]
    |                       ^^^^^^^^^^^^ definition of unknown language item `arc`

error: aborting due to 2 previous errors
Needed for https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#resolver But nightly-2020-04-25 fails with: ```text Compiling alloc v0.0.0 (/run/user/1000/xargo.JvAuiln8dawn) error[E0522]: definition of an unknown language item: `rc` --> /nix/store/702z0r414f4yb30pip0cf7p9pm5mfsyh-rust-94d3463/src/liballoc/rc.rs:282:23 | 282 | #[cfg_attr(not(test), lang = "rc")] | ^^^^^^^^^^^ definition of unknown language item `rc` error[E0522]: definition of an unknown language item: `arc` --> /nix/store/702z0r414f4yb30pip0cf7p9pm5mfsyh-rust-94d3463/src/liballoc/sync.rs:210:23 | 210 | #[cfg_attr(not(test), lang = "arc")] | ^^^^^^^^^^^^ definition of unknown language item `arc` error: aborting due to 2 previous errors ```
Poster
Owner

Probably won't be needed. My idea was to use the brotli crate with no_std on the device, and with std in build.rs - but that crate (like most other Rust compression crates it would seem) has serious problems and we won't use it.

Probably won't be needed. My idea was to use the brotli crate with no_std on the device, and with std in build.rs - but that crate (like most other Rust compression crates it would seem) has serious problems and we won't use it.
sb10q closed this issue 2020-04-27 10:32:16 +08:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/zynq-rs#23
There is no content yet.