pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rustc version 1.37 does not build



it cannot build rust 1.37 in armv7 netbsd-9 
the file work/rustc-1.37.0-src/src/libcore/task/wake.rs
I put the requested diretive #![feature(const_fn) in the module in several places without success

error[E0723]: function pointers in const fn are unstable (see issue #57563)
   --> src/libcore/task/wake.rs:159:9
    |
159 |         clone: unsafe fn(*const ()) -> RawWaker,
    |         ^^^^^
    |
    = help: add #![feature(const_fn)] to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0723`.
error: Could not compile `core`.



Home | Main Index | Thread Index | Old Index