Error in obtaining time on ‘arm-unknown-linux-musleabihf’ platform #115921
Open
Description
fn main() {
let now = std::time::SystemTime::now();
println!("now={:?}",now);
}
rustc --version --verbose
:
rustc 1.72.0-nightly (f4b80cacf 2023-06-30)
binary: rustc
commit-hash: f4b80cacf93ca216c75f6ae12f4b9dec19eba42f
commit-date: 2023-06-30
host: x86_64-unknown-linux-gnu
release: 1.72.0-nightly
LLVM version: 16.0.5
build
cargo build --target arm-unknown-linux-musleabihf
[target.arm-unknown-linux-musleabihf]
linker = "arm-linux-musleabihf-gcc" # https://musl.cc/arm-linux-musleabihf-cross.tgz
os
uname -a
================================================================
Linux LTBK 3.2.40 #15284 Sat May 19 04:36:51 CST 2018 armv7l GNU/Linux synology_armada370_213j
cat /proc/cpuinfo
================================================================
Processor : Marvell PJ4Bv7 Processor rev 1 (v7l)
BogoMIPS : 1196.85
Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16 tls
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x1
CPU part : 0x581
CPU revision : 1
Hardware : Marvell Armada-370
Revision : 0000
Serial : 0000000000000000
Activity