You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ RustPython git:(main) cargo build --target=x86_64-unknown-linux-musl --release --all-features [0/952]
Compiling rustpython-vm v0.1.2 (/home/kali-team/PudgeProject/RustPython/vm)
warning: use of deprecated typealias`libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. --> vm/src/stdlib/time.rs:380:35 |380 | tv_sec: std::cmp::min(libc::time_t::max_value() as u64, dur.as_secs()) as libc::time_t, | ^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by defaultwarning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info.
--> vm/src/stdlib/time.rs:380:87
|
380 | tv_sec: std::cmp::min(libc::time_t::max_value() as u64, dur.as_secs()) as libc::time_t,
| ^^^^^^^^^^^^
error[E0063]: missing fields `sched_ss_init_budget`, `sched_ss_low_priority`, `sched_ss_max_repl` and 1 other field in initializer of `sched_param`
--> vm/src/stdlib/posix.rs:493:16
|
493 | Ok(libc::sched_param { sched_priority })
| ^^^^^^^^^^^^^^^^^ missing `sched_ss_init_budget`, `sched_ss_low_priority`, `sched_ss_max_repl` and 1 other field
error: aborting due to previous error; 2 warnings emitted
For more information about this error, try `rustc --explain E0063`.
error: could not compile `rustpython-vm`
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
I think this is bug report for musl build, rather than missing fields themselves.
I fixed them in #3802 and added musl build to CI. we will keep them working.
git clone --depth=1 https://github.com/RustPython/RustPython
The text was updated successfully, but these errors were encountered: