diff --git a/rust.spec b/rust.spec index 8fcf71fd774f749aa55c03070344e3a1d3c863bf..a2d2355816fdeece60b049548b8e1ea8addcc61c 100644 --- a/rust.spec +++ b/rust.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 # Only x86_64 and i686 are Tier 1 platforms at this time. # https://doc.rust-lang.org/nightly/rustc/platform-support.html %global rust_arches x86_64 aarch64 @@ -21,10 +21,10 @@ # Define a space-separated list of targets to ship rust-std-static-$triple for # cross-compilation. The packages are noarch, but they're not fully # reproducible between hosts, so only x86_64 actually builds it. -%ifarch x86_64 -%global mingw_targets i686-pc-windows-gnu x86_64-pc-windows-gnu -%global wasm_targets wasm32-unknown-unknown wasm32-wasi -%endif +#%%ifarch x86_64 +#%%global mingw_targets i686-pc-windows-gnu x86_64-pc-windows-gnu +#%%global wasm_targets wasm32-unknown-unknown wasm32-wasi +#%%endif # We need CRT files for *-wasi targets, at least as new as the commit in # src/ci/docker/host-x86_64/dist-various-2/build-wasi-toolchain.sh @@ -862,6 +862,9 @@ end} %changelog +* Sun Apr 24 2022 happy_orange - 1.59.0-3 +- disable the wingw_targets and wasm_targets to make the build success + * Tue Mar 15 2022 Zhongling He - 1.59.0-2 - add aarch64