Compare commits
No commits in common. "c8-stream-rhel8" and "c10s" have entirely different histories.
c8-stream-
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
473
.gitignore
vendored
473
.gitignore
vendored
@ -1,2 +1,471 @@
|
|||||||
SOURCES/rustc-1.92.0-src.tar.xz
|
/rustc-1.10.0-src.tar.gz
|
||||||
SOURCES/wasi-libc-wasi-sdk-27.tar.gz
|
/rustc-1.9.0-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.9.0-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.11.0-src.tar.gz
|
||||||
|
/rustc-1.10.0-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.10.0-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.10.0-armv7-unknown-linux-gnueabihf.tar.gz
|
||||||
|
/rustc-1.11.0-aarch64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.11.0-armv7-unknown-linux-gnueabihf.tar.gz
|
||||||
|
/rustc-1.11.0-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.11.0-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.12.0-src.tar.gz
|
||||||
|
/rustc-1.12.1-src.tar.gz
|
||||||
|
/rustc-1.13.0-src.tar.gz
|
||||||
|
/rustc-1.12.1-aarch64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.12.1-armv7-unknown-linux-gnueabihf.tar.gz
|
||||||
|
/rustc-1.12.1-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.12.1-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-beta-src.tar.gz
|
||||||
|
/rustc-1.13.0-aarch64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.13.0-armv7-unknown-linux-gnueabihf.tar.gz
|
||||||
|
/rustc-1.13.0-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.13.0-powerpc64le-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.13.0-powerpc64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.13.0-s390x-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.13.0-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.14.0-src.tar.gz
|
||||||
|
/rustc-1.15.1-src.tar.gz
|
||||||
|
/rustc-1.14.0-aarch64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.14.0-armv7-unknown-linux-gnueabihf.tar.gz
|
||||||
|
/rustc-1.14.0-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.14.0-powerpc64le-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.14.0-powerpc64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.14.0-s390x-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.14.0-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.15.1-aarch64-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.15.1-armv7-unknown-linux-gnueabihf.tar.gz
|
||||||
|
/rust-1.15.1-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.15.1-powerpc64le-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.15.1-powerpc64-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.15.1-s390x-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.15.1-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.16.0-src.tar.gz
|
||||||
|
/rustc-1.17.0-src.tar.gz
|
||||||
|
/rust-1.16.0-aarch64-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.16.0-armv7-unknown-linux-gnueabihf.tar.gz
|
||||||
|
/rust-1.16.0-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.16.0-powerpc64le-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.16.0-powerpc64-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.16.0-s390x-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.16.0-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.18.0-src.tar.gz
|
||||||
|
/rust-1.17.0-aarch64-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.17.0-armv7-unknown-linux-gnueabihf.tar.gz
|
||||||
|
/rust-1.17.0-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.17.0-powerpc64le-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.17.0-powerpc64-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.17.0-s390x-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.17.0-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.19.0-src.tar.xz
|
||||||
|
/rust-1.18.0-aarch64-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.18.0-armv7-unknown-linux-gnueabihf.tar.gz
|
||||||
|
/rust-1.18.0-i686-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.18.0-powerpc64le-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.18.0-powerpc64-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.18.0-s390x-unknown-linux-gnu.tar.gz
|
||||||
|
/rust-1.18.0-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
/rustc-1.20.0-src.tar.xz
|
||||||
|
/rust-1.19.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.19.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.19.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.19.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.19.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.19.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.19.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.21.0-src.tar.xz
|
||||||
|
/rust-1.20.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.20.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.20.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.20.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.20.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.20.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.20.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.22.1-src.tar.xz
|
||||||
|
/rust-1.21.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.21.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.21.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.21.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.21.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.21.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.21.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.23.0-src.tar.xz
|
||||||
|
/rust-1.22.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.22.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.22.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.22.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.22.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.22.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.22.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.24.0-src.tar.xz
|
||||||
|
/rust-1.23.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.23.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.23.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.23.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.23.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.23.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.23.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.24.1-src.tar.xz
|
||||||
|
/rustc-1.25.0-src.tar.xz
|
||||||
|
/rust-1.24.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.24.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.24.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.24.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.24.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.24.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.24.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.26.0-src.tar.xz
|
||||||
|
/rust-1.25.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.25.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.25.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.25.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.25.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.25.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.25.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.26.1-src.tar.xz
|
||||||
|
/rustc-1.26.2-src.tar.xz
|
||||||
|
/rustc-1.27.0-src.tar.xz
|
||||||
|
/rust-1.26.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.26.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.26.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.26.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.26.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.26.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.26.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.27.1-src.tar.xz
|
||||||
|
/rustc-1.27.2-src.tar.xz
|
||||||
|
/rustc-1.28.0-src.tar.xz
|
||||||
|
/rust-1.27.2-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.27.2-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.27.2-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.27.2-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.27.2-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.27.2-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.27.2-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.29.0-src.tar.xz
|
||||||
|
/rust-1.28.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.28.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.28.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.28.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.28.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.28.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.28.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.29.1-src.tar.xz
|
||||||
|
/rustc-1.29.2-src.tar.xz
|
||||||
|
/rustc-1.30.0-src.tar.xz
|
||||||
|
/rust-1.29.2-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.29.2-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.29.2-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.29.2-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.29.2-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.29.2-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.29.2-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.30.1-src.tar.xz
|
||||||
|
/rustc-1.31.0-src.tar.xz
|
||||||
|
/rust-1.30.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.30.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.30.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.30.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.30.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.30.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.30.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.31.1-src.tar.xz
|
||||||
|
/rustc-1.32.0-src.tar.xz
|
||||||
|
/rust-1.31.1-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.31.1-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.31.1-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.31.1-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.31.1-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.31.1-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.31.1-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.33.0-src.tar.xz
|
||||||
|
/rust-1.32.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.32.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.32.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.32.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.32.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.32.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.32.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.34.0-src.tar.xz
|
||||||
|
/rust-1.33.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.33.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.33.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.33.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.33.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.33.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.33.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.34.1-src.tar.xz
|
||||||
|
/rustc-1.34.2-src.tar.xz
|
||||||
|
/rustc-1.35.0-src.tar.xz
|
||||||
|
/rust-1.34.2-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.34.2-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.34.2-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.34.2-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.34.2-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.34.2-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.34.2-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.36.0-src.tar.xz
|
||||||
|
/rust-1.35.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.35.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.35.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.35.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.35.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.35.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.35.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.37.0-src.tar.xz
|
||||||
|
/rust-1.36.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.36.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.36.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.36.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.36.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.36.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.36.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.38.0-src.tar.xz
|
||||||
|
/rust-1.37.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.37.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.37.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.37.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.37.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.37.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.37.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.39.0-src.tar.xz
|
||||||
|
/rust-1.38.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.38.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.38.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.38.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.38.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.38.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.38.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.40.0-src.tar.xz
|
||||||
|
/rust-1.39.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.39.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.39.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.39.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.39.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.39.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.39.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.41.0-src.tar.xz
|
||||||
|
/rust-1.40.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.40.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.40.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.40.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.40.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.41.1-src.tar.xz
|
||||||
|
/rustc-1.42.0-src.tar.xz
|
||||||
|
/rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.41.1-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.41.1-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.41.1-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.41.1-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.41.1-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.43.0-src.tar.xz
|
||||||
|
/rust-1.42.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.42.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.42.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.42.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.42.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.42.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.42.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.43.1-src.tar.xz
|
||||||
|
/rustc-1.44.0-src.tar.xz
|
||||||
|
/rust-1.43.1-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.43.1-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.43.1-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.43.1-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.43.1-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.43.1-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.43.1-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.44.1-src.tar.xz
|
||||||
|
/rustc-1.45.0-src.tar.xz
|
||||||
|
/rust-1.44.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.44.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.44.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.44.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.44.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.44.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.44.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.45.1-src.tar.xz
|
||||||
|
/rustc-1.45.2-src.tar.xz
|
||||||
|
/rustc-1.46.0-src.tar.xz
|
||||||
|
/rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.45.2-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.45.2-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.45.2-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.45.2-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.45.2-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.45.2-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.47.0-src.tar.xz
|
||||||
|
/rust-1.46.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.46.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.46.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.46.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.46.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.46.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.48.0-src.tar.xz
|
||||||
|
/rust-1.47.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.47.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.47.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.47.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.47.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.47.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.47.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.49.0-src.tar.xz
|
||||||
|
/rust-1.48.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.48.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.48.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.48.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.48.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.48.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.48.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.50.0-src.tar.xz
|
||||||
|
/rust-1.49.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.49.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.49.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.49.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.49.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.49.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.51.0-src.tar.xz
|
||||||
|
/rust-1.50.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.50.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.50.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.50.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.50.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.50.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.52.0-src.tar.xz
|
||||||
|
/rust-1.51.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.51.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.51.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.51.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.51.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.51.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.52.1-src.tar.xz
|
||||||
|
/rustc-1.53.0-src.tar.xz
|
||||||
|
/rust-1.52.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.52.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.52.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.52.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.52.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.52.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.54.0-src.tar.xz
|
||||||
|
/rust-1.53.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.53.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.53.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.53.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.53.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.53.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.53.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.55.0-src.tar.xz
|
||||||
|
/rust-1.54.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.54.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.54.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.54.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.54.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.54.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.54.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.56.0-src.tar.xz
|
||||||
|
/rust-1.55.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.55.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.55.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.55.0-powerpc64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.55.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.55.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.55.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.56.1-src.tar.xz
|
||||||
|
/rustc-1.57.0-src.tar.xz
|
||||||
|
/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96.tar.gz
|
||||||
|
/rust-1.56.1-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.56.1-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.56.1-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.56.1-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.56.1-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.56.1-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.58.0-src.tar.xz
|
||||||
|
/rust-1.57.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.57.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.57.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.57.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.57.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.57.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.58.1-src.tar.xz
|
||||||
|
/rustc-1.59.0-src.tar.xz
|
||||||
|
/rust-1.58.0-aarch64-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.58.0-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
/rust-1.58.0-i686-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.58.0-powerpc64le-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.58.0-s390x-unknown-linux-gnu.tar.xz
|
||||||
|
/rust-1.58.0-x86_64-unknown-linux-gnu.tar.xz
|
||||||
|
/rustc-1.60.0-src.tar.xz
|
||||||
|
/rustc-1.61.0-src.tar.xz
|
||||||
|
/wasi-libc-9886d3d6200fcc3726329966860fc058707406cd.tar.gz
|
||||||
|
/rustc-1.62.0-src.tar.xz
|
||||||
|
/rustc-1.62.1-src.tar.xz
|
||||||
|
/rustc-1.63.0-src.tar.xz
|
||||||
|
/rustc-1.64.0-src.tar.xz
|
||||||
|
/rustc-1.65.0-src.tar.xz
|
||||||
|
/wasi-libc-wasi-sdk-16.tar.gz
|
||||||
|
/rustc-1.66.0-src.tar.xz
|
||||||
|
/wasi-libc-wasi-sdk-17.tar.gz
|
||||||
|
/rustc-1.66.1-src.tar.xz
|
||||||
|
/rustc-1.67.0-src.tar.xz
|
||||||
|
/rustc-1.67.1-src.tar.xz
|
||||||
|
/rustc-1.68.0-src.tar.xz
|
||||||
|
/wasi-libc-wasi-sdk-19.tar.gz
|
||||||
|
/rustc-1.68.1-src.tar.xz
|
||||||
|
/rustc-1.68.2-src.tar.xz
|
||||||
|
/rustc-1.69.0-src.tar.xz
|
||||||
|
/wasi-libc-1dfe5c302d1c5ab621f7abf04620fae92700fd22.tar.gz
|
||||||
|
/rustc-1.70.0-src.tar.xz
|
||||||
|
/wasi-libc-wasi-sdk-20.tar.gz
|
||||||
|
/rustc-1.71.0-src.tar.xz
|
||||||
|
/rustc-1.71.1-src.tar.xz
|
||||||
|
/rustc-1.72.0-src.tar.xz
|
||||||
|
/wasi-libc-7018e24d8fe248596819d2e884761676f3542a04.tar.gz
|
||||||
|
/rustc-1.72.1-src.tar.xz
|
||||||
|
/wasi-libc-bd950eb128bff337153de217b11270f948d04bb4.tar.gz
|
||||||
|
/rustc-1.73.0-src.tar.xz
|
||||||
|
/rustc-1.74.0-src.tar.xz
|
||||||
|
/rustc-1.74.1-src.tar.xz
|
||||||
|
/rustc-1.75.0-src.tar.xz
|
||||||
|
/rustc-1.76.0-src.tar.xz
|
||||||
|
/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4.tar.gz
|
||||||
|
/rustc-1.77.0-src.tar.xz
|
||||||
|
/rustc-1.77.2-src.tar.xz
|
||||||
|
/rustc-1.78.0-src.tar.xz
|
||||||
|
/rustc-1.79.0-src.tar.xz
|
||||||
|
/wasi-libc-wasi-sdk-22.tar.gz
|
||||||
|
/rustc-1.80.0-src.tar.xz
|
||||||
|
/rustc-1.80.1-src.tar.xz
|
||||||
|
/wasi-libc-3f43ea9abb24ed8d24d760989e1d87ea385f8eaa.tar.gz
|
||||||
|
/rustc-1.81.0-src.tar.xz
|
||||||
|
/wasi-libc-b9ef79d7dbd47c6c5bafdae760823467c2f60b70.tar.gz
|
||||||
|
/rustc-1.82.0-src.tar.xz
|
||||||
|
/wasi-libc-wasi-sdk-24.tar.gz
|
||||||
|
/rustc-1.83.0-src.tar.xz
|
||||||
|
/rustc-1.84.0-src.tar.xz
|
||||||
|
/wasi-libc-wasi-sdk-25.tar.gz
|
||||||
|
/rustc-1.84.1-src.tar.xz
|
||||||
|
/rustc-1.85.0-src.tar.xz
|
||||||
|
/rustc-1.85.1-src.tar.xz
|
||||||
|
/rustc-1.86.0-src.tar.xz
|
||||||
|
/wasi-libc-640c0cfc19a96b099e0791824be5ef0105ce2084.tar.gz
|
||||||
|
/rustc-1.87.0-src.tar.xz
|
||||||
|
/rustc-1.88.0-src.tar.xz
|
||||||
|
/wasi-libc-wasi-sdk-27.tar.gz
|
||||||
|
/rustc-1.89.0-src.tar.xz
|
||||||
|
/rustc-1.90.0-src.tar.xz
|
||||||
|
/rustc-1.91.0-src.tar.xz
|
||||||
|
/rustc-1.92.0-src.tar.xz
|
||||||
|
/rustc-1.93.0-src.tar.xz
|
||||||
|
/wasi-libc-wasi-sdk-29.tar.gz
|
||||||
|
/rustc-1.93.0-src.tar.xz.asc
|
||||||
|
/rustc-1.94.1-src.tar.xz
|
||||||
|
/rustc-1.94.1-src.tar.xz.asc
|
||||||
|
/rustc-1.95.0-src.tar.xz
|
||||||
|
/rustc-1.95.0-src.tar.xz.asc
|
||||||
|
/wasi-libc-wasi-sdk-32.tar.gz
|
||||||
|
/rustc-1.96.0-src.tar.xz
|
||||||
|
/rustc-1.96.0-src.tar.xz.asc
|
||||||
|
|||||||
@ -1,2 +0,0 @@
|
|||||||
fbabcdb70a1ac1773e63d7800be42ffbaf9286e8 SOURCES/rustc-1.92.0-src.tar.xz
|
|
||||||
7c12838ff50eb7d07e0679ae4e70b99ca5c711c0 SOURCES/wasi-libc-wasi-sdk-27.tar.gz
|
|
||||||
@ -1,21 +1,21 @@
|
|||||||
From e9405caf32dfb31bf17c3da0299df515a3755107 Mon Sep 17 00:00:00 2001
|
From 2f68bbbaa31cef21b912ec4856e3187528ed9679 Mon Sep 17 00:00:00 2001
|
||||||
From: Josh Stone <jistone@redhat.com>
|
From: Josh Stone <jistone@redhat.com>
|
||||||
Date: Fri, 16 Aug 2024 10:12:58 -0700
|
Date: Fri, 16 Aug 2024 10:12:58 -0700
|
||||||
Subject: [PATCH] Use lld provided by system
|
Subject: [PATCH] Use lld provided by system
|
||||||
|
|
||||||
---
|
---
|
||||||
compiler/rustc_target/src/spec/base/wasm.rs | 3 +--
|
compiler/rustc_target/src/spec/base/wasm.rs | 3 +--
|
||||||
.../src/spec/targets/aarch64_unknown_none_softfloat.rs | 2 +-
|
.../src/spec/targets/aarch64_unknown_none_softfloat.rs | 1 -
|
||||||
compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs | 1 +
|
compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs | 1 +
|
||||||
compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs | 2 +-
|
compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs | 2 +-
|
||||||
compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs | 1 +
|
compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs | 1 +
|
||||||
5 files changed, 5 insertions(+), 4 deletions(-)
|
5 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
diff --git a/compiler/rustc_target/src/spec/base/wasm.rs b/compiler/rustc_target/src/spec/base/wasm.rs
|
diff --git a/compiler/rustc_target/src/spec/base/wasm.rs b/compiler/rustc_target/src/spec/base/wasm.rs
|
||||||
index 7ede45766ea..b22362227bb 100644
|
index 1f0f564a7790..9173337a1a69 100644
|
||||||
--- a/compiler/rustc_target/src/spec/base/wasm.rs
|
--- a/compiler/rustc_target/src/spec/base/wasm.rs
|
||||||
+++ b/compiler/rustc_target/src/spec/base/wasm.rs
|
+++ b/compiler/rustc_target/src/spec/base/wasm.rs
|
||||||
@@ -81,8 +81,7 @@ macro_rules! args {
|
@@ -71,8 +71,7 @@ macro_rules! args {
|
||||||
// threaded model which will legalize atomics to normal operations.
|
// threaded model which will legalize atomics to normal operations.
|
||||||
singlethread: true,
|
singlethread: true,
|
||||||
|
|
||||||
@ -26,20 +26,19 @@ index 7ede45766ea..b22362227bb 100644
|
|||||||
|
|
||||||
pre_link_args,
|
pre_link_args,
|
||||||
diff --git a/compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softfloat.rs b/compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softfloat.rs
|
diff --git a/compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softfloat.rs b/compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softfloat.rs
|
||||||
index 35a4dd72b86..a9c8fc5edb8 100644
|
index 05876891ebd7..9f389f9abec7 100644
|
||||||
--- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softfloat.rs
|
--- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softfloat.rs
|
||||||
+++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softfloat.rs
|
+++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softfloat.rs
|
||||||
@@ -15,7 +15,7 @@ pub(crate) fn target() -> Target {
|
@@ -16,7 +16,6 @@ pub(crate) fn target() -> Target {
|
||||||
let opts = TargetOptions {
|
cfg_abi: CfgAbi::SoftFloat,
|
||||||
abi: "softfloat".into(),
|
rustc_abi: Some(RustcAbi::Softfloat),
|
||||||
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
|
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
|
||||||
- linker: Some("rust-lld".into()),
|
- linker: Some("rust-lld".into()),
|
||||||
+ linker: Some("lld".into()),
|
features: "+v8a,+strict-align,-neon".into(),
|
||||||
features: "+v8a,+strict-align,-neon,-fp-armv8".into(),
|
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
disable_redzone: true,
|
disable_redzone: true,
|
||||||
diff --git a/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs b/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs
|
diff --git a/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs b/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs
|
||||||
index 327b52389b9..17313d7e8b3 100644
|
index e2c1888e4084..4869f85d1e6e 100644
|
||||||
--- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs
|
--- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs
|
||||||
+++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs
|
+++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs
|
||||||
@@ -9,6 +9,7 @@ pub(crate) fn target() -> Target {
|
@@ -9,6 +9,7 @@ pub(crate) fn target() -> Target {
|
||||||
@ -51,7 +50,7 @@ index 327b52389b9..17313d7e8b3 100644
|
|||||||
Target {
|
Target {
|
||||||
llvm_target: "aarch64-unknown-windows".into(),
|
llvm_target: "aarch64-unknown-windows".into(),
|
||||||
diff --git a/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs b/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs
|
diff --git a/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs b/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs
|
||||||
index 1a6343595f5..8015b082cd1 100644
|
index 0afe7a0b68b0..4671032a437c 100644
|
||||||
--- a/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs
|
--- a/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs
|
||||||
+++ b/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs
|
+++ b/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs
|
||||||
@@ -19,7 +19,7 @@ pub(crate) fn target() -> Target {
|
@@ -19,7 +19,7 @@ pub(crate) fn target() -> Target {
|
||||||
@ -60,11 +59,11 @@ index 1a6343595f5..8015b082cd1 100644
|
|||||||
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
|
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
|
||||||
- linker: Some("rust-lld".into()),
|
- linker: Some("rust-lld".into()),
|
||||||
+ linker: Some("lld".into()),
|
+ linker: Some("lld".into()),
|
||||||
rustc_abi: Some(RustcAbi::X86Softfloat),
|
rustc_abi: Some(RustcAbi::Softfloat),
|
||||||
features: "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,+soft-float".into(),
|
features: "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,+soft-float".into(),
|
||||||
supported_sanitizers: SanitizerSet::KCFI | SanitizerSet::KERNELADDRESS,
|
supported_sanitizers: SanitizerSet::KCFI | SanitizerSet::KERNELADDRESS,
|
||||||
diff --git a/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs b/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs
|
diff --git a/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs b/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs
|
||||||
index 0cf6a879462..3677fc662de 100644
|
index 333e20bd0ac1..16bea38887be 100644
|
||||||
--- a/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs
|
--- a/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs
|
||||||
+++ b/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs
|
+++ b/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs
|
||||||
@@ -15,6 +15,7 @@ pub(crate) fn target() -> Target {
|
@@ -15,6 +15,7 @@ pub(crate) fn target() -> Target {
|
||||||
@ -76,5 +75,5 @@ index 0cf6a879462..3677fc662de 100644
|
|||||||
// We disable MMX and SSE for now, even though UEFI allows using them. Problem is, you have to
|
// We disable MMX and SSE for now, even though UEFI allows using them. Problem is, you have to
|
||||||
// enable these CPU features explicitly before their first use, otherwise their instructions
|
// enable these CPU features explicitly before their first use, otherwise their instructions
|
||||||
--
|
--
|
||||||
2.51.0
|
2.53.0
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
From 8364de4cb8edab85efcb895824ce06f4a95bd26f Mon Sep 17 00:00:00 2001
|
From 5e8b069a530092bf57dc19d8f6e5df85db1bd7d3 Mon Sep 17 00:00:00 2001
|
||||||
From: Josh Stone <jistone@redhat.com>
|
From: Josh Stone <jistone@redhat.com>
|
||||||
Date: Mon, 18 Aug 2025 17:11:07 -0700
|
Date: Mon, 18 Aug 2025 17:11:07 -0700
|
||||||
Subject: [PATCH] bootstrap: allow disabling target self-contained
|
Subject: [PATCH 1/2] bootstrap: allow disabling target self-contained
|
||||||
|
|
||||||
---
|
---
|
||||||
bootstrap.example.toml | 5 +++++
|
bootstrap.example.toml | 5 +++++
|
||||||
@ -12,10 +12,10 @@ Subject: [PATCH] bootstrap: allow disabling target self-contained
|
|||||||
5 files changed, 23 insertions(+)
|
5 files changed, 23 insertions(+)
|
||||||
|
|
||||||
diff --git a/bootstrap.example.toml b/bootstrap.example.toml
|
diff --git a/bootstrap.example.toml b/bootstrap.example.toml
|
||||||
index 6f37e51a47d..ee21bc06bea 100644
|
index 4e850810a30..a3ae9251cf5 100644
|
||||||
--- a/bootstrap.example.toml
|
--- a/bootstrap.example.toml
|
||||||
+++ b/bootstrap.example.toml
|
+++ b/bootstrap.example.toml
|
||||||
@@ -1077,3 +1077,8 @@
|
@@ -1102,3 +1102,8 @@
|
||||||
# pass `off`:
|
# pass `off`:
|
||||||
# - x86_64-unknown-linux-gnu
|
# - x86_64-unknown-linux-gnu
|
||||||
#default-linker-linux-override = "off" (for most targets)
|
#default-linker-linux-override = "off" (for most targets)
|
||||||
@ -25,10 +25,10 @@ index 6f37e51a47d..ee21bc06bea 100644
|
|||||||
+# targets may ignore this setting if they have nothing to be contained.
|
+# targets may ignore this setting if they have nothing to be contained.
|
||||||
+#self-contained = <platform-specific> (bool)
|
+#self-contained = <platform-specific> (bool)
|
||||||
diff --git a/src/bootstrap/src/core/build_steps/compile.rs b/src/bootstrap/src/core/build_steps/compile.rs
|
diff --git a/src/bootstrap/src/core/build_steps/compile.rs b/src/bootstrap/src/core/build_steps/compile.rs
|
||||||
index 6857a40ada8..9a98323a704 100644
|
index 02940a80295..f3e7cbafc49 100644
|
||||||
--- a/src/bootstrap/src/core/build_steps/compile.rs
|
--- a/src/bootstrap/src/core/build_steps/compile.rs
|
||||||
+++ b/src/bootstrap/src/core/build_steps/compile.rs
|
+++ b/src/bootstrap/src/core/build_steps/compile.rs
|
||||||
@@ -368,6 +368,10 @@ fn copy_self_contained_objects(
|
@@ -370,6 +370,10 @@ fn copy_self_contained_objects(
|
||||||
compiler: &Compiler,
|
compiler: &Compiler,
|
||||||
target: TargetSelection,
|
target: TargetSelection,
|
||||||
) -> Vec<(PathBuf, DependencyType)> {
|
) -> Vec<(PathBuf, DependencyType)> {
|
||||||
@ -40,10 +40,10 @@ index 6857a40ada8..9a98323a704 100644
|
|||||||
builder.sysroot_target_libdir(*compiler, target).join("self-contained");
|
builder.sysroot_target_libdir(*compiler, target).join("self-contained");
|
||||||
t!(fs::create_dir_all(&libdir_self_contained));
|
t!(fs::create_dir_all(&libdir_self_contained));
|
||||||
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs
|
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs
|
||||||
index 4b7ae6df360..6bab269a33c 100644
|
index 2f493658ec0..d1ceea0296e 100644
|
||||||
--- a/src/bootstrap/src/core/config/config.rs
|
--- a/src/bootstrap/src/core/config/config.rs
|
||||||
+++ b/src/bootstrap/src/core/config/config.rs
|
+++ b/src/bootstrap/src/core/config/config.rs
|
||||||
@@ -864,6 +864,7 @@ pub(crate) fn parse_inner(
|
@@ -877,6 +877,7 @@ pub(crate) fn parse_inner(
|
||||||
runner: target_runner,
|
runner: target_runner,
|
||||||
optimized_compiler_builtins: target_optimized_compiler_builtins,
|
optimized_compiler_builtins: target_optimized_compiler_builtins,
|
||||||
jemalloc: target_jemalloc,
|
jemalloc: target_jemalloc,
|
||||||
@ -51,7 +51,7 @@ index 4b7ae6df360..6bab269a33c 100644
|
|||||||
} = cfg;
|
} = cfg;
|
||||||
|
|
||||||
let mut target = Target::from_triple(&triple);
|
let mut target = Target::from_triple(&triple);
|
||||||
@@ -921,6 +922,9 @@ pub(crate) fn parse_inner(
|
@@ -934,6 +935,9 @@ pub(crate) fn parse_inner(
|
||||||
if let Some(s) = target_no_std {
|
if let Some(s) = target_no_std {
|
||||||
target.no_std = s;
|
target.no_std = s;
|
||||||
}
|
}
|
||||||
@ -62,10 +62,10 @@ index 4b7ae6df360..6bab269a33c 100644
|
|||||||
target.cxx = target_cxx.map(PathBuf::from);
|
target.cxx = target_cxx.map(PathBuf::from);
|
||||||
target.ar = target_ar.map(PathBuf::from);
|
target.ar = target_ar.map(PathBuf::from);
|
||||||
diff --git a/src/bootstrap/src/core/config/toml/target.rs b/src/bootstrap/src/core/config/toml/target.rs
|
diff --git a/src/bootstrap/src/core/config/toml/target.rs b/src/bootstrap/src/core/config/toml/target.rs
|
||||||
index 4c7afa50b96..83b8a1b50ca 100644
|
index 847b75e696b..cbe36106a6f 100644
|
||||||
--- a/src/bootstrap/src/core/config/toml/target.rs
|
--- a/src/bootstrap/src/core/config/toml/target.rs
|
||||||
+++ b/src/bootstrap/src/core/config/toml/target.rs
|
+++ b/src/bootstrap/src/core/config/toml/target.rs
|
||||||
@@ -47,6 +47,7 @@ struct TomlTarget {
|
@@ -48,6 +48,7 @@ struct TomlTarget {
|
||||||
runner: Option<String> = "runner",
|
runner: Option<String> = "runner",
|
||||||
optimized_compiler_builtins: Option<CompilerBuiltins> = "optimized-compiler-builtins",
|
optimized_compiler_builtins: Option<CompilerBuiltins> = "optimized-compiler-builtins",
|
||||||
jemalloc: Option<bool> = "jemalloc",
|
jemalloc: Option<bool> = "jemalloc",
|
||||||
@ -73,7 +73,7 @@ index 4c7afa50b96..83b8a1b50ca 100644
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -80,6 +81,7 @@ pub struct Target {
|
@@ -82,6 +83,7 @@ pub struct Target {
|
||||||
pub codegen_backends: Option<Vec<CodegenBackendKind>>,
|
pub codegen_backends: Option<Vec<CodegenBackendKind>>,
|
||||||
pub optimized_compiler_builtins: Option<CompilerBuiltins>,
|
pub optimized_compiler_builtins: Option<CompilerBuiltins>,
|
||||||
pub jemalloc: Option<bool>,
|
pub jemalloc: Option<bool>,
|
||||||
@ -81,7 +81,7 @@ index 4c7afa50b96..83b8a1b50ca 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Target {
|
impl Target {
|
||||||
@@ -91,6 +93,9 @@ pub fn from_triple(triple: &str) -> Self {
|
@@ -93,6 +95,9 @@ pub fn from_triple(triple: &str) -> Self {
|
||||||
if triple.contains("emscripten") {
|
if triple.contains("emscripten") {
|
||||||
target.runner = Some("node".into());
|
target.runner = Some("node".into());
|
||||||
}
|
}
|
||||||
@ -92,10 +92,10 @@ index 4c7afa50b96..83b8a1b50ca 100644
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs
|
diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs
|
||||||
index dd30f05b728..cc89a84071e 100644
|
index a31eb0c1c80..ca28b2cb0d9 100644
|
||||||
--- a/src/bootstrap/src/lib.rs
|
--- a/src/bootstrap/src/lib.rs
|
||||||
+++ b/src/bootstrap/src/lib.rs
|
+++ b/src/bootstrap/src/lib.rs
|
||||||
@@ -1441,6 +1441,11 @@ fn no_std(&self, target: TargetSelection) -> Option<bool> {
|
@@ -1448,6 +1448,11 @@ fn no_std(&self, target: TargetSelection) -> Option<bool> {
|
||||||
self.config.target_config.get(&target).map(|t| t.no_std)
|
self.config.target_config.get(&target).map(|t| t.no_std)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -108,5 +108,5 @@ index dd30f05b728..cc89a84071e 100644
|
|||||||
/// and `remote-test-server` binaries.
|
/// and `remote-test-server` binaries.
|
||||||
fn remote_tested(&self, target: TargetSelection) -> bool {
|
fn remote_tested(&self, target: TargetSelection) -> bool {
|
||||||
--
|
--
|
||||||
2.51.0
|
2.51.1
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
From 862d09fe2e8b0f5ce8fe7bfc592cda66a1d74c08 Mon Sep 17 00:00:00 2001
|
From 51178db0fd3d40917a78e4b039c0412bcd332e31 Mon Sep 17 00:00:00 2001
|
||||||
From: Josh Stone <jistone@redhat.com>
|
From: Josh Stone <jistone@redhat.com>
|
||||||
Date: Mon, 18 Aug 2025 17:13:28 -0700
|
Date: Mon, 18 Aug 2025 17:13:28 -0700
|
||||||
Subject: [PATCH 2/2] set an external library path for wasm32-wasi
|
Subject: [PATCH 2/2] set an external library path for wasm32-wasi
|
||||||
@ -11,10 +11,10 @@ Subject: [PATCH 2/2] set an external library path for wasm32-wasi
|
|||||||
4 files changed, 20 insertions(+), 3 deletions(-)
|
4 files changed, 20 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs
|
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs
|
||||||
index 48b01ea2df19..59b87396fed2 100644
|
index d35c3b6bb18..f2a067a9e8c 100644
|
||||||
--- a/compiler/rustc_codegen_ssa/src/back/link.rs
|
--- a/compiler/rustc_codegen_ssa/src/back/link.rs
|
||||||
+++ b/compiler/rustc_codegen_ssa/src/back/link.rs
|
+++ b/compiler/rustc_codegen_ssa/src/back/link.rs
|
||||||
@@ -1559,6 +1559,12 @@ fn get_object_file_path(sess: &Session, name: &str, self_contained: bool) -> Pat
|
@@ -1565,6 +1565,12 @@ fn get_object_file_path(sess: &Session, name: &str, self_contained: bool) -> Pat
|
||||||
return file_path;
|
return file_path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -27,7 +27,7 @@ index 48b01ea2df19..59b87396fed2 100644
|
|||||||
for search_path in sess.target_filesearch().search_paths(PathKind::Native) {
|
for search_path in sess.target_filesearch().search_paths(PathKind::Native) {
|
||||||
let file_path = search_path.dir.join(name);
|
let file_path = search_path.dir.join(name);
|
||||||
if file_path.exists() {
|
if file_path.exists() {
|
||||||
@@ -2140,6 +2146,10 @@ fn add_library_search_dirs(
|
@@ -2142,6 +2148,10 @@ fn add_library_search_dirs(
|
||||||
}
|
}
|
||||||
ControlFlow::<()>::Continue(())
|
ControlFlow::<()>::Continue(())
|
||||||
});
|
});
|
||||||
@ -39,7 +39,7 @@ index 48b01ea2df19..59b87396fed2 100644
|
|||||||
|
|
||||||
/// Add options making relocation sections in the produced ELF files read-only
|
/// Add options making relocation sections in the produced ELF files read-only
|
||||||
diff --git a/compiler/rustc_target/src/spec/json.rs b/compiler/rustc_target/src/spec/json.rs
|
diff --git a/compiler/rustc_target/src/spec/json.rs b/compiler/rustc_target/src/spec/json.rs
|
||||||
index f236be92b3b6..eea6e0c203d2 100644
|
index a972299deea..b3a6fe7c5ac 100644
|
||||||
--- a/compiler/rustc_target/src/spec/json.rs
|
--- a/compiler/rustc_target/src/spec/json.rs
|
||||||
+++ b/compiler/rustc_target/src/spec/json.rs
|
+++ b/compiler/rustc_target/src/spec/json.rs
|
||||||
@@ -81,6 +81,7 @@ macro_rules! forward_opt {
|
@@ -81,6 +81,7 @@ macro_rules! forward_opt {
|
||||||
@ -50,7 +50,7 @@ index f236be92b3b6..eea6e0c203d2 100644
|
|||||||
forward!(pre_link_objects_self_contained);
|
forward!(pre_link_objects_self_contained);
|
||||||
forward!(post_link_objects_self_contained);
|
forward!(post_link_objects_self_contained);
|
||||||
|
|
||||||
@@ -301,6 +302,7 @@ macro_rules! target_option_val {
|
@@ -308,6 +309,7 @@ macro_rules! target_option_val {
|
||||||
target_option_val!(linker_is_gnu_json, "linker-is-gnu");
|
target_option_val!(linker_is_gnu_json, "linker-is-gnu");
|
||||||
target_option_val!(pre_link_objects);
|
target_option_val!(pre_link_objects);
|
||||||
target_option_val!(post_link_objects);
|
target_option_val!(post_link_objects);
|
||||||
@ -58,7 +58,7 @@ index f236be92b3b6..eea6e0c203d2 100644
|
|||||||
target_option_val!(pre_link_objects_self_contained, "pre-link-objects-fallback");
|
target_option_val!(pre_link_objects_self_contained, "pre-link-objects-fallback");
|
||||||
target_option_val!(post_link_objects_self_contained, "post-link-objects-fallback");
|
target_option_val!(post_link_objects_self_contained, "post-link-objects-fallback");
|
||||||
target_option_val!(link_args - pre_link_args_json, "pre-link-args");
|
target_option_val!(link_args - pre_link_args_json, "pre-link-args");
|
||||||
@@ -511,6 +513,8 @@ struct TargetSpecJson {
|
@@ -520,6 +522,8 @@ struct TargetSpecJson {
|
||||||
pre_link_objects: Option<CrtObjects>,
|
pre_link_objects: Option<CrtObjects>,
|
||||||
#[serde(rename = "post-link-objects")]
|
#[serde(rename = "post-link-objects")]
|
||||||
post_link_objects: Option<CrtObjects>,
|
post_link_objects: Option<CrtObjects>,
|
||||||
@ -68,10 +68,10 @@ index f236be92b3b6..eea6e0c203d2 100644
|
|||||||
pre_link_objects_self_contained: Option<CrtObjects>,
|
pre_link_objects_self_contained: Option<CrtObjects>,
|
||||||
#[serde(rename = "post-link-objects-fallback")]
|
#[serde(rename = "post-link-objects-fallback")]
|
||||||
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs
|
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs
|
||||||
index 07fb1ce63f7c..c076c2836f84 100644
|
index 424026bdcea..3e0d565b00d 100644
|
||||||
--- a/compiler/rustc_target/src/spec/mod.rs
|
--- a/compiler/rustc_target/src/spec/mod.rs
|
||||||
+++ b/compiler/rustc_target/src/spec/mod.rs
|
+++ b/compiler/rustc_target/src/spec/mod.rs
|
||||||
@@ -1992,6 +1992,7 @@ pub struct TargetOptions {
|
@@ -2218,6 +2218,7 @@ pub struct TargetOptions {
|
||||||
/// Objects to link before and after all other object code.
|
/// Objects to link before and after all other object code.
|
||||||
pub pre_link_objects: CrtObjects,
|
pub pre_link_objects: CrtObjects,
|
||||||
pub post_link_objects: CrtObjects,
|
pub post_link_objects: CrtObjects,
|
||||||
@ -79,7 +79,7 @@ index 07fb1ce63f7c..c076c2836f84 100644
|
|||||||
/// Same as `(pre|post)_link_objects`, but when self-contained linking mode is enabled.
|
/// Same as `(pre|post)_link_objects`, but when self-contained linking mode is enabled.
|
||||||
pub pre_link_objects_self_contained: CrtObjects,
|
pub pre_link_objects_self_contained: CrtObjects,
|
||||||
pub post_link_objects_self_contained: CrtObjects,
|
pub post_link_objects_self_contained: CrtObjects,
|
||||||
@@ -2518,6 +2519,7 @@ fn default() -> TargetOptions {
|
@@ -2758,6 +2759,7 @@ fn default() -> TargetOptions {
|
||||||
relro_level: RelroLevel::None,
|
relro_level: RelroLevel::None,
|
||||||
pre_link_objects: Default::default(),
|
pre_link_objects: Default::default(),
|
||||||
post_link_objects: Default::default(),
|
post_link_objects: Default::default(),
|
||||||
@ -88,11 +88,11 @@ index 07fb1ce63f7c..c076c2836f84 100644
|
|||||||
post_link_objects_self_contained: Default::default(),
|
post_link_objects_self_contained: Default::default(),
|
||||||
link_self_contained: LinkSelfContainedDefault::False,
|
link_self_contained: LinkSelfContainedDefault::False,
|
||||||
diff --git a/compiler/rustc_target/src/spec/targets/wasm32_wasip1.rs b/compiler/rustc_target/src/spec/targets/wasm32_wasip1.rs
|
diff --git a/compiler/rustc_target/src/spec/targets/wasm32_wasip1.rs b/compiler/rustc_target/src/spec/targets/wasm32_wasip1.rs
|
||||||
index 26add451ed25..3eaf050e6823 100644
|
index 2d3dd0862d6..130ce1f225a 100644
|
||||||
--- a/compiler/rustc_target/src/spec/targets/wasm32_wasip1.rs
|
--- a/compiler/rustc_target/src/spec/targets/wasm32_wasip1.rs
|
||||||
+++ b/compiler/rustc_target/src/spec/targets/wasm32_wasip1.rs
|
+++ b/compiler/rustc_target/src/spec/targets/wasm32_wasip1.rs
|
||||||
@@ -21,11 +21,12 @@ pub(crate) fn target() -> Target {
|
@@ -22,11 +22,12 @@ pub(crate) fn target() -> Target {
|
||||||
options.env = "p1".into();
|
options.env = Env::P1;
|
||||||
options.add_pre_link_args(LinkerFlavor::WasmLld(Cc::Yes), &["--target=wasm32-wasip1"]);
|
options.add_pre_link_args(LinkerFlavor::WasmLld(Cc::Yes), &["--target=wasm32-wasip1"]);
|
||||||
|
|
||||||
- options.pre_link_objects_self_contained = crt_objects::pre_wasi_self_contained();
|
- options.pre_link_objects_self_contained = crt_objects::pre_wasi_self_contained();
|
||||||
@ -108,5 +108,5 @@ index 26add451ed25..3eaf050e6823 100644
|
|||||||
// Right now this is a bit of a workaround but we're currently saying that
|
// Right now this is a bit of a workaround but we're currently saying that
|
||||||
// the target by default has a static crt which we're taking as a signal
|
// the target by default has a static crt which we're taking as a signal
|
||||||
--
|
--
|
||||||
2.51.0
|
2.51.1
|
||||||
|
|
||||||
@ -1,44 +0,0 @@
|
|||||||
diff -up rustc-beta-src/src/tools/cargo/Cargo.lock.orig rustc-beta-src/src/tools/cargo/Cargo.lock
|
|
||||||
--- rustc-beta-src/src/tools/cargo/Cargo.lock.orig 2025-08-16 15:47:14.000000000 -0700
|
|
||||||
+++ rustc-beta-src/src/tools/cargo/Cargo.lock 2025-08-18 17:31:39.554771554 -0700
|
|
||||||
@@ -2800,7 +2800,6 @@ checksum = "1c42fe03df2bd3c53a3a9c7317ad
|
|
||||||
dependencies = [
|
|
||||||
"cc",
|
|
||||||
"libc",
|
|
||||||
- "libssh2-sys",
|
|
||||||
"libz-sys",
|
|
||||||
"openssl-sys",
|
|
||||||
"pkg-config",
|
|
||||||
@@ -2847,20 +2846,6 @@ dependencies = [
|
|
||||||
"pkg-config",
|
|
||||||
"vcpkg",
|
|
||||||
]
|
|
||||||
-
|
|
||||||
-[[package]]
|
|
||||||
-name = "libssh2-sys"
|
|
||||||
-version = "0.3.1"
|
|
||||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
-checksum = "220e4f05ad4a218192533b300327f5150e809b54c4ec83b5a1d91833601811b9"
|
|
||||||
-dependencies = [
|
|
||||||
- "cc",
|
|
||||||
- "libc",
|
|
||||||
- "libz-sys",
|
|
||||||
- "openssl-sys",
|
|
||||||
- "pkg-config",
|
|
||||||
- "vcpkg",
|
|
||||||
-]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "libz-rs-sys"
|
|
||||||
diff -up rustc-beta-src/src/tools/cargo/Cargo.toml.orig rustc-beta-src/src/tools/cargo/Cargo.toml
|
|
||||||
--- rustc-beta-src/src/tools/cargo/Cargo.toml.orig 2025-08-16 15:47:14.000000000 -0700
|
|
||||||
+++ rustc-beta-src/src/tools/cargo/Cargo.toml 2025-08-18 17:33:02.401743230 -0700
|
|
||||||
@@ -46,7 +46,7 @@ curl = "0.4.48"
|
|
||||||
curl-sys = "0.4.83"
|
|
||||||
filetime = "0.2.26"
|
|
||||||
flate2 = { version = "1.1.2", default-features = false, features = ["zlib-rs"] }
|
|
||||||
-git2 = "0.20.2"
|
|
||||||
+git2 = { version = "0.20.2", default-features = false, features = ["https"] }
|
|
||||||
git2-curl = "0.21.0"
|
|
||||||
# When updating this, also see if `gix-transport` further down needs updating or some auth-related tests will fail.
|
|
||||||
gix = { version = "0.73.0", default-features = false, features = ["progress-tree", "parallel", "dirwalk", "status"] }
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
diff -up rustc-beta-src/src/tools/cargo/Cargo.lock.orig rustc-beta-src/src/tools/cargo/Cargo.lock
|
|
||||||
--- rustc-beta-src/src/tools/cargo/Cargo.lock.orig 2025-11-07 13:31:19.003737886 +0100
|
|
||||||
+++ rustc-beta-src/src/tools/cargo/Cargo.lock 2025-11-07 13:14:41.637982893 +0100
|
|
||||||
@@ -2835,7 +2835,6 @@ version = "0.35.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "133c182a6a2c87864fe97778797e46c7e999672690dc9fa3ee8e241aa4a9c13f"
|
|
||||||
dependencies = [
|
|
||||||
- "cc",
|
|
||||||
"pkg-config",
|
|
||||||
"vcpkg",
|
|
||||||
]
|
|
||||||
diff -up rustc-beta-src/src/tools/cargo/Cargo.toml.orig rustc-beta-src/src/tools/cargo/Cargo.toml
|
|
||||||
--- rustc-beta-src/src/tools/cargo/Cargo.toml.orig 2025-11-07 13:31:28.338643618 +0100
|
|
||||||
+++ rustc-beta-src/src/tools/cargo/Cargo.toml 2025-11-07 13:15:00.266505214 +0100
|
|
||||||
@@ -81,7 +81,7 @@ proptest = "1.8.0"
|
|
||||||
pulldown-cmark = { version = "0.13.0", default-features = false, features = ["html"] }
|
|
||||||
rand = "0.9.2"
|
|
||||||
regex = "1.11.3"
|
|
||||||
-rusqlite = { version = "0.37.0", features = ["bundled"] }
|
|
||||||
+rusqlite = { version = "0.37.0", features = [] }
|
|
||||||
rustc-hash = "2.1.1"
|
|
||||||
rustc-stable-hash = "0.1.2"
|
|
||||||
rustfix = { version = "0.9.2", path = "crates/rustfix" }
|
|
||||||
607
changelog
Normal file
607
changelog
Normal file
@ -0,0 +1,607 @@
|
|||||||
|
* Fri Apr 05 2024 Josh Stone <jistone@redhat.com> - 1.77.0-3
|
||||||
|
- Ensure more consistency in PGO flags -- fixes Cargo tests
|
||||||
|
|
||||||
|
* Thu Mar 21 2024 Davide Cavalca <dcavalca@fedoraproject.org> - 1.77.0-2
|
||||||
|
- Add build target for aarch64-unknown-none-softfloat
|
||||||
|
|
||||||
|
* Thu Mar 21 2024 Nikita Popov <npopov@redhat.com> - 1.77.0-1
|
||||||
|
- Update to 1.77.0
|
||||||
|
|
||||||
|
* Thu Feb 08 2024 Josh Stone <jistone@redhat.com> - 1.76.0-1
|
||||||
|
- Update to 1.76.0.
|
||||||
|
|
||||||
|
* Tue Jan 30 2024 Josh Stone <jistone@redhat.com> - 1.75.0-3
|
||||||
|
- Consolidate 32-bit build compromises.
|
||||||
|
- Update rust-toolset and add rust-srpm-macros for ELN.
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.75.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Dec 31 2023 Josh Stone <jistone@redhat.com> - 1.75.0-1
|
||||||
|
- Update to 1.75.0.
|
||||||
|
|
||||||
|
* Thu Dec 07 2023 Josh Stone <jistone@redhat.com> - 1.74.1-1
|
||||||
|
- Update to 1.74.1.
|
||||||
|
|
||||||
|
* Thu Nov 16 2023 Josh Stone <jistone@redhat.com> - 1.74.0-1
|
||||||
|
- Update to 1.74.0.
|
||||||
|
|
||||||
|
* Thu Oct 26 2023 Josh Stone <jistone@redhat.com> - 1.73.0-2
|
||||||
|
- Use thin-LTO and PGO for rustc itself.
|
||||||
|
|
||||||
|
* Thu Oct 05 2023 Josh Stone <jistone@redhat.com> - 1.73.0-1
|
||||||
|
- Update to 1.73.0.
|
||||||
|
- Drop el7 conditionals from the spec.
|
||||||
|
|
||||||
|
* Fri Sep 29 2023 Josh Stone <jistone@redhat.com> - 1.72.1-3
|
||||||
|
- Fix the profiler runtime with compiler-rt-17
|
||||||
|
- Switch to unbundled wasi-libc on Fedora
|
||||||
|
- Use emmalloc instead of CC0 dlmalloc when bundling wasi-libc
|
||||||
|
|
||||||
|
* Mon Sep 25 2023 Josh Stone <jistone@redhat.com> - 1.72.1-2
|
||||||
|
- Fix LLVM dependency for ELN
|
||||||
|
- Add build target for x86_64-unknown-none
|
||||||
|
- Add build target for x86_64-unknown-uefi
|
||||||
|
|
||||||
|
* Tue Sep 19 2023 Josh Stone <jistone@redhat.com> - 1.72.1-1
|
||||||
|
- Update to 1.72.1.
|
||||||
|
- Migrated to SPDX license
|
||||||
|
|
||||||
|
* Thu Aug 24 2023 Josh Stone <jistone@redhat.com> - 1.72.0-1
|
||||||
|
- Update to 1.72.0.
|
||||||
|
|
||||||
|
* Mon Aug 07 2023 Josh Stone <jistone@redhat.com> - 1.71.1-1
|
||||||
|
- Update to 1.71.1.
|
||||||
|
- Security fix for CVE-2023-38497
|
||||||
|
|
||||||
|
* Tue Jul 25 2023 Josh Stone <jistone@redhat.com> - 1.71.0-3
|
||||||
|
- Relax the suspicious_double_ref_op lint
|
||||||
|
- Enable the profiler runtime for native hosts
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.71.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 17 2023 Josh Stone <jistone@redhat.com> - 1.71.0-1
|
||||||
|
- Update to 1.71.0.
|
||||||
|
|
||||||
|
* Fri Jun 23 2023 Josh Stone <jistone@redhat.com> - 1.70.0-2
|
||||||
|
- Override default target CPUs to match distro settings
|
||||||
|
|
||||||
|
* Thu Jun 01 2023 Josh Stone <jistone@redhat.com> - 1.70.0-1
|
||||||
|
- Update to 1.70.0.
|
||||||
|
|
||||||
|
* Fri May 05 2023 Josh Stone <jistone@redhat.com> - 1.69.0-3
|
||||||
|
- Fix debuginfo with LLVM 16
|
||||||
|
|
||||||
|
* Mon May 01 2023 Josh Stone <jistone@redhat.com> - 1.69.0-2
|
||||||
|
- Build with LLVM 15 on Fedora 38+
|
||||||
|
|
||||||
|
* Thu Apr 20 2023 Josh Stone <jistone@redhat.com> - 1.69.0-1
|
||||||
|
- Update to 1.69.0.
|
||||||
|
- Obsolete rust-analysis.
|
||||||
|
|
||||||
|
* Tue Mar 28 2023 Josh Stone <jistone@redhat.com> - 1.68.2-1
|
||||||
|
- Update to 1.68.2.
|
||||||
|
|
||||||
|
* Thu Mar 23 2023 Josh Stone <jistone@redhat.com> - 1.68.1-1
|
||||||
|
- Update to 1.68.1.
|
||||||
|
|
||||||
|
* Thu Mar 09 2023 Josh Stone <jistone@redhat.com> - 1.68.0-1
|
||||||
|
- Update to 1.68.0.
|
||||||
|
|
||||||
|
* Tue Mar 07 2023 David Michael <fedora.dm0@gmail.com> - 1.67.1-3
|
||||||
|
- Add a virtual Provides to rust-std-static containing the target triple.
|
||||||
|
|
||||||
|
* Mon Feb 20 2023 Orion Poplawski <orion@nwra.com> - 1.67.1-2
|
||||||
|
- Ship rust-toolset for EPEL7
|
||||||
|
|
||||||
|
* Thu Feb 09 2023 Josh Stone <jistone@redhat.com> - 1.67.1-1
|
||||||
|
- Update to 1.67.1.
|
||||||
|
|
||||||
|
* Fri Feb 03 2023 Josh Stone <jistone@redhat.com> - 1.67.0-3
|
||||||
|
- Unbundle libgit2 on Fedora 38.
|
||||||
|
|
||||||
|
* Fri Jan 27 2023 Adam Williamson <awilliam@redhat.com> - 1.67.0-2
|
||||||
|
- Backport PR #107360 to fix build of mesa
|
||||||
|
- Backport 675fa0b3 to fix bootstrapping failure
|
||||||
|
|
||||||
|
* Thu Jan 26 2023 Josh Stone <jistone@redhat.com> - 1.67.0-1
|
||||||
|
- Update to 1.67.0.
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.66.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 10 2023 Josh Stone <jistone@redhat.com> - 1.66.1-1
|
||||||
|
- Update to 1.66.1.
|
||||||
|
- Security fix for CVE-2022-46176
|
||||||
|
|
||||||
|
* Thu Dec 15 2022 Josh Stone <jistone@redhat.com> - 1.66.0-1
|
||||||
|
- Update to 1.66.0.
|
||||||
|
|
||||||
|
* Thu Nov 03 2022 Josh Stone <jistone@redhat.com> - 1.65.0-1
|
||||||
|
- Update to 1.65.0.
|
||||||
|
- rust-analyzer now obsoletes rls.
|
||||||
|
|
||||||
|
* Thu Sep 22 2022 Josh Stone <jistone@redhat.com> - 1.64.0-1
|
||||||
|
- Update to 1.64.0.
|
||||||
|
- Add rust-analyzer.
|
||||||
|
|
||||||
|
* Thu Aug 11 2022 Josh Stone <jistone@redhat.com> - 1.63.0-1
|
||||||
|
- Update to 1.63.0.
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.62.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 19 2022 Josh Stone <jistone@redhat.com> - 1.62.1-1
|
||||||
|
- Update to 1.62.1.
|
||||||
|
|
||||||
|
* Wed Jul 13 2022 Josh Stone <jistone@redhat.com> - 1.62.0-2
|
||||||
|
- Prevent unsound coercions from functions with opaque return types.
|
||||||
|
|
||||||
|
* Thu Jun 30 2022 Josh Stone <jistone@redhat.com> - 1.62.0-1
|
||||||
|
- Update to 1.62.0.
|
||||||
|
|
||||||
|
* Mon May 23 2022 Josh Stone <jistone@redhat.com> - 1.61.0-2
|
||||||
|
- Add missing target_feature to the list of well known cfg names
|
||||||
|
|
||||||
|
* Thu May 19 2022 Josh Stone <jistone@redhat.com> - 1.61.0-1
|
||||||
|
- Update to 1.61.0.
|
||||||
|
- Add rust-toolset for ELN.
|
||||||
|
|
||||||
|
* Thu Apr 07 2022 Josh Stone <jistone@redhat.com> - 1.60.0-1
|
||||||
|
- Update to 1.60.0.
|
||||||
|
|
||||||
|
* Fri Mar 25 2022 Josh Stone <jistone@redhat.com> - 1.59.0-4
|
||||||
|
- Fix the archive index for wasm32-wasi's libc.a
|
||||||
|
|
||||||
|
* Fri Mar 04 2022 Stephen Gallagher <sgallagh@redhat.com> - 1.59.0-3
|
||||||
|
- Rebuild against the bootstrapped build
|
||||||
|
|
||||||
|
* Fri Mar 04 2022 Stephen Gallagher <sgallagh@redhat.com> - 1.59.0-2.1
|
||||||
|
- Bootstrapping for Fedora ELN
|
||||||
|
|
||||||
|
* Tue Mar 01 2022 Josh Stone <jistone@redhat.com> - 1.59.0-2
|
||||||
|
- Fix s390x hangs, rhbz#2058803
|
||||||
|
|
||||||
|
* Thu Feb 24 2022 Josh Stone <jistone@redhat.com> - 1.59.0-1
|
||||||
|
- Update to 1.59.0.
|
||||||
|
- Revert to libgit2 1.3.x
|
||||||
|
|
||||||
|
* Sun Feb 20 2022 Igor Raits <igor.raits@gmail.com> - 1.58.1-2
|
||||||
|
- Rebuild for libgit2 1.4.x
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Josh Stone <jistone@redhat.com> - 1.58.1-1
|
||||||
|
- Update to 1.58.1.
|
||||||
|
|
||||||
|
* Thu Jan 13 2022 Josh Stone <jistone@redhat.com> - 1.58.0-1
|
||||||
|
- Update to 1.58.0.
|
||||||
|
|
||||||
|
* Wed Jan 05 2022 Josh Stone <jistone@redhat.com> - 1.57.0-2
|
||||||
|
- Add rust-std-static-i686-pc-windows-gnu
|
||||||
|
- Add rust-std-static-x86_64-pc-windows-gnu
|
||||||
|
|
||||||
|
* Thu Dec 02 2021 Josh Stone <jistone@redhat.com> - 1.57.0-1
|
||||||
|
- Update to 1.57.0, fixes rhbz#2028675.
|
||||||
|
- Backport rust#91070, fixes rhbz#1990657
|
||||||
|
- Add rust-std-static-wasm32-wasi
|
||||||
|
|
||||||
|
* Sun Nov 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.56.1-3
|
||||||
|
- De-bootstrap (libgit2)
|
||||||
|
|
||||||
|
* Sun Nov 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.56.1-2
|
||||||
|
- Rebuild for libgit2 1.3.x
|
||||||
|
|
||||||
|
* Mon Nov 01 2021 Josh Stone <jistone@redhat.com> - 1.56.1-1
|
||||||
|
- Update to 1.56.1.
|
||||||
|
|
||||||
|
* Thu Oct 21 2021 Josh Stone <jistone@redhat.com> - 1.56.0-1
|
||||||
|
- Update to 1.56.0.
|
||||||
|
|
||||||
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.55.0-2
|
||||||
|
- Rebuilt with OpenSSL 3.0.0
|
||||||
|
|
||||||
|
* Thu Sep 09 2021 Josh Stone <jistone@redhat.com> - 1.55.0-1
|
||||||
|
- Update to 1.55.0.
|
||||||
|
- Use llvm-ranlib for wasm rlibs; Fixes rhbz#2002612
|
||||||
|
|
||||||
|
* Tue Aug 24 2021 Josh Stone <jistone@redhat.com> - 1.54.0-2
|
||||||
|
- Build with LLVM 12 on Fedora 35+
|
||||||
|
|
||||||
|
* Thu Jul 29 2021 Josh Stone <jistone@redhat.com> - 1.54.0-1
|
||||||
|
- Update to 1.54.0.
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.53.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 08 2021 Josh Stone <jistone@redhat.com> - 1.53.0-2
|
||||||
|
- Exclude wasm on s390x for lack of lld
|
||||||
|
|
||||||
|
* Thu Jun 17 2021 Josh Stone <jistone@redhat.com> - 1.53.0-1
|
||||||
|
- Update to 1.53.0.
|
||||||
|
|
||||||
|
* Wed Jun 02 2021 Josh Stone <jistone@redhat.com> - 1.52.1-2
|
||||||
|
- Set rust.codegen-units-std=1 for all targets again.
|
||||||
|
- Add rust-std-static-wasm32-unknown-unknown.
|
||||||
|
- Rebuild f34 with LLVM 12.
|
||||||
|
|
||||||
|
* Mon May 10 2021 Josh Stone <jistone@redhat.com> - 1.52.1-1
|
||||||
|
- Update to 1.52.1.
|
||||||
|
|
||||||
|
* Thu May 06 2021 Josh Stone <jistone@redhat.com> - 1.52.0-1
|
||||||
|
- Update to 1.52.0.
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Josh Stone <jistone@redhat.com> - 1.51.0-3
|
||||||
|
- Security fixes for CVE-2020-36323, CVE-2021-31162
|
||||||
|
|
||||||
|
* Wed Apr 14 2021 Josh Stone <jistone@redhat.com> - 1.51.0-2
|
||||||
|
- Security fixes for CVE-2021-28876, CVE-2021-28878, CVE-2021-28879
|
||||||
|
- Fix bootstrap for stage0 rust 1.51
|
||||||
|
|
||||||
|
* Thu Mar 25 2021 Josh Stone <jistone@redhat.com> - 1.51.0-1
|
||||||
|
- Update to 1.51.0.
|
||||||
|
|
||||||
|
* Thu Feb 11 2021 Josh Stone <jistone@redhat.com> - 1.50.0-1
|
||||||
|
- Update to 1.50.0.
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 05 2021 Josh Stone <jistone@redhat.com> - 1.49.0-1
|
||||||
|
- Update to 1.49.0.
|
||||||
|
|
||||||
|
* Tue Dec 29 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.48.0-3
|
||||||
|
- De-bootstrap
|
||||||
|
|
||||||
|
* Mon Dec 28 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.48.0-2
|
||||||
|
- Rebuild for libgit2 1.1.x
|
||||||
|
|
||||||
|
* Thu Nov 19 2020 Josh Stone <jistone@redhat.com> - 1.48.0-1
|
||||||
|
- Update to 1.48.0.
|
||||||
|
|
||||||
|
* Sat Oct 10 2020 Jeff Law <law@redhat.com> - 1.47.0-2
|
||||||
|
- Re-enable LTO
|
||||||
|
|
||||||
|
* Thu Oct 08 2020 Josh Stone <jistone@redhat.com> - 1.47.0-1
|
||||||
|
- Update to 1.47.0.
|
||||||
|
|
||||||
|
* Fri Aug 28 2020 Fabio Valentini <decathorpe@gmail.com> - 1.46.0-2
|
||||||
|
- Fix LTO with doctests (backported cargo PR#8657).
|
||||||
|
|
||||||
|
* Thu Aug 27 2020 Josh Stone <jistone@redhat.com> - 1.46.0-1
|
||||||
|
- Update to 1.46.0.
|
||||||
|
|
||||||
|
* Mon Aug 03 2020 Josh Stone <jistone@redhat.com> - 1.45.2-1
|
||||||
|
- Update to 1.45.2.
|
||||||
|
|
||||||
|
* Thu Jul 30 2020 Josh Stone <jistone@redhat.com> - 1.45.1-1
|
||||||
|
- Update to 1.45.1.
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.45.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 16 2020 Josh Stone <jistone@redhat.com> - 1.45.0-1
|
||||||
|
- Update to 1.45.0.
|
||||||
|
|
||||||
|
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 1.44.1-2
|
||||||
|
- Disable LTO
|
||||||
|
|
||||||
|
* Thu Jun 18 2020 Josh Stone <jistone@redhat.com> - 1.44.1-1
|
||||||
|
- Update to 1.44.1.
|
||||||
|
|
||||||
|
* Thu Jun 04 2020 Josh Stone <jistone@redhat.com> - 1.44.0-1
|
||||||
|
- Update to 1.44.0.
|
||||||
|
|
||||||
|
* Thu May 07 2020 Josh Stone <jistone@redhat.com> - 1.43.1-1
|
||||||
|
- Update to 1.43.1.
|
||||||
|
|
||||||
|
* Thu Apr 23 2020 Josh Stone <jistone@redhat.com> - 1.43.0-1
|
||||||
|
- Update to 1.43.0.
|
||||||
|
|
||||||
|
* Thu Mar 12 2020 Josh Stone <jistone@redhat.com> - 1.42.0-1
|
||||||
|
- Update to 1.42.0.
|
||||||
|
|
||||||
|
* Thu Feb 27 2020 Josh Stone <jistone@redhat.com> - 1.41.1-1
|
||||||
|
- Update to 1.41.1.
|
||||||
|
|
||||||
|
* Thu Feb 20 2020 Josh Stone <jistone@redhat.com> - 1.41.0-2
|
||||||
|
- Rebuild with llvm9.0
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Josh Stone <jistone@redhat.com> - 1.41.0-1
|
||||||
|
- Update to 1.41.0.
|
||||||
|
|
||||||
|
* Thu Jan 16 2020 Josh Stone <jistone@redhat.com> - 1.40.0-3
|
||||||
|
- Build compiletest with in-tree libtest
|
||||||
|
|
||||||
|
* Tue Jan 07 2020 Josh Stone <jistone@redhat.com> - 1.40.0-2
|
||||||
|
- Fix compiletest with newer (local-rebuild) libtest
|
||||||
|
- Fix ARM EHABI unwinding
|
||||||
|
|
||||||
|
* Thu Dec 19 2019 Josh Stone <jistone@redhat.com> - 1.40.0-1
|
||||||
|
- Update to 1.40.0.
|
||||||
|
|
||||||
|
* Tue Nov 12 2019 Josh Stone <jistone@redhat.com> - 1.39.0-2
|
||||||
|
- Fix a couple build and test issues with rustdoc.
|
||||||
|
|
||||||
|
* Thu Nov 07 2019 Josh Stone <jistone@redhat.com> - 1.39.0-1
|
||||||
|
- Update to 1.39.0.
|
||||||
|
|
||||||
|
* Fri Sep 27 2019 Josh Stone <jistone@redhat.com> - 1.38.0-2
|
||||||
|
- Filter the libraries included in rust-std (rhbz1756487)
|
||||||
|
|
||||||
|
* Thu Sep 26 2019 Josh Stone <jistone@redhat.com> - 1.38.0-1
|
||||||
|
- Update to 1.38.0.
|
||||||
|
|
||||||
|
* Thu Aug 15 2019 Josh Stone <jistone@redhat.com> - 1.37.0-1
|
||||||
|
- Update to 1.37.0.
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.36.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 04 2019 Josh Stone <jistone@redhat.com> - 1.36.0-1
|
||||||
|
- Update to 1.36.0.
|
||||||
|
|
||||||
|
* Wed May 29 2019 Josh Stone <jistone@redhat.com> - 1.35.0-2
|
||||||
|
- Fix compiletest for rebuild testing.
|
||||||
|
|
||||||
|
* Thu May 23 2019 Josh Stone <jistone@redhat.com> - 1.35.0-1
|
||||||
|
- Update to 1.35.0.
|
||||||
|
|
||||||
|
* Tue May 14 2019 Josh Stone <jistone@redhat.com> - 1.34.2-1
|
||||||
|
- Update to 1.34.2 -- fixes CVE-2019-12083.
|
||||||
|
|
||||||
|
* Tue Apr 30 2019 Josh Stone <jistone@redhat.com> - 1.34.1-3
|
||||||
|
- Set rust.codegen-units-std=1
|
||||||
|
|
||||||
|
* Fri Apr 26 2019 Josh Stone <jistone@redhat.com> - 1.34.1-2
|
||||||
|
- Remove the ThinLTO workaround.
|
||||||
|
|
||||||
|
* Thu Apr 25 2019 Josh Stone <jistone@redhat.com> - 1.34.1-1
|
||||||
|
- Update to 1.34.1.
|
||||||
|
- Add a ThinLTO fix for rhbz1701339.
|
||||||
|
|
||||||
|
* Thu Apr 11 2019 Josh Stone <jistone@redhat.com> - 1.34.0-1
|
||||||
|
- Update to 1.34.0.
|
||||||
|
|
||||||
|
* Fri Mar 01 2019 Josh Stone <jistone@redhat.com> - 1.33.0-2
|
||||||
|
- Fix deprecations for self-rebuild
|
||||||
|
|
||||||
|
* Thu Feb 28 2019 Josh Stone <jistone@redhat.com> - 1.33.0-1
|
||||||
|
- Update to 1.33.0.
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.32.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 17 2019 Josh Stone <jistone@redhat.com> - 1.32.0-1
|
||||||
|
- Update to 1.32.0.
|
||||||
|
|
||||||
|
* Mon Jan 07 2019 Josh Stone <jistone@redhat.com> - 1.31.1-9
|
||||||
|
- Update to 1.31.1 for RLS fixes.
|
||||||
|
|
||||||
|
* Thu Dec 06 2018 Josh Stone <jistone@redhat.com> - 1.31.0-8
|
||||||
|
- Update to 1.31.0 -- Rust 2018!
|
||||||
|
- clippy/rls/rustfmt are no longer -preview
|
||||||
|
|
||||||
|
* Thu Nov 08 2018 Josh Stone <jistone@redhat.com> - 1.30.1-7
|
||||||
|
- Update to 1.30.1.
|
||||||
|
|
||||||
|
* Thu Oct 25 2018 Josh Stone <jistone@redhat.com> - 1.30.0-6
|
||||||
|
- Update to 1.30.0.
|
||||||
|
|
||||||
|
* Mon Oct 22 2018 Josh Stone <jistone@redhat.com> - 1.29.2-5
|
||||||
|
- Rebuild without bootstrap binaries.
|
||||||
|
|
||||||
|
* Sat Oct 20 2018 Josh Stone <jistone@redhat.com> - 1.29.2-4
|
||||||
|
- Re-bootstrap armv7hl due to rhbz#1639485
|
||||||
|
|
||||||
|
* Fri Oct 12 2018 Josh Stone <jistone@redhat.com> - 1.29.2-3
|
||||||
|
- Update to 1.29.2.
|
||||||
|
|
||||||
|
* Tue Sep 25 2018 Josh Stone <jistone@redhat.com> - 1.29.1-2
|
||||||
|
- Update to 1.29.1.
|
||||||
|
- Security fix for str::repeat (pending CVE).
|
||||||
|
|
||||||
|
* Thu Sep 13 2018 Josh Stone <jistone@redhat.com> - 1.29.0-1
|
||||||
|
- Update to 1.29.0.
|
||||||
|
- Add a clippy-preview subpackage
|
||||||
|
|
||||||
|
* Mon Aug 13 2018 Josh Stone <jistone@redhat.com> - 1.28.0-3
|
||||||
|
- Use llvm6.0 instead of llvm-7 for now
|
||||||
|
|
||||||
|
* Tue Aug 07 2018 Josh Stone <jistone@redhat.com> - 1.28.0-2
|
||||||
|
- Rebuild for LLVM ppc64/s390x fixes
|
||||||
|
|
||||||
|
* Thu Aug 02 2018 Josh Stone <jistone@redhat.com> - 1.28.0-1
|
||||||
|
- Update to 1.28.0.
|
||||||
|
|
||||||
|
* Tue Jul 24 2018 Josh Stone <jistone@redhat.com> - 1.27.2-4
|
||||||
|
- Update to 1.27.2.
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.27.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 10 2018 Josh Stone <jistone@redhat.com> - 1.27.1-2
|
||||||
|
- Update to 1.27.1.
|
||||||
|
- Security fix for CVE-2018-1000622
|
||||||
|
|
||||||
|
* Thu Jun 21 2018 Josh Stone <jistone@redhat.com> - 1.27.0-1
|
||||||
|
- Update to 1.27.0.
|
||||||
|
|
||||||
|
* Tue Jun 05 2018 Josh Stone <jistone@redhat.com> - 1.26.2-4
|
||||||
|
- Rebuild without bootstrap binaries.
|
||||||
|
|
||||||
|
* Tue Jun 05 2018 Josh Stone <jistone@redhat.com> - 1.26.2-3
|
||||||
|
- Update to 1.26.2.
|
||||||
|
- Re-bootstrap to deal with LLVM symbol changes.
|
||||||
|
|
||||||
|
* Tue May 29 2018 Josh Stone <jistone@redhat.com> - 1.26.1-2
|
||||||
|
- Update to 1.26.1.
|
||||||
|
|
||||||
|
* Thu May 10 2018 Josh Stone <jistone@redhat.com> - 1.26.0-1
|
||||||
|
- Update to 1.26.0.
|
||||||
|
|
||||||
|
* Mon Apr 16 2018 Dan Callaghan <dcallagh@redhat.com> - 1.25.0-3
|
||||||
|
- Add cargo, rls, and analysis
|
||||||
|
|
||||||
|
* Tue Apr 10 2018 Josh Stone <jistone@redhat.com> - 1.25.0-2
|
||||||
|
- Filter codegen-backends from Provides too.
|
||||||
|
|
||||||
|
* Thu Mar 29 2018 Josh Stone <jistone@redhat.com> - 1.25.0-1
|
||||||
|
- Update to 1.25.0.
|
||||||
|
|
||||||
|
* Thu Mar 01 2018 Josh Stone <jistone@redhat.com> - 1.24.1-1
|
||||||
|
- Update to 1.24.1.
|
||||||
|
|
||||||
|
* Wed Feb 21 2018 Josh Stone <jistone@redhat.com> - 1.24.0-3
|
||||||
|
- Backport a rebuild fix for rust#48308.
|
||||||
|
|
||||||
|
* Mon Feb 19 2018 Josh Stone <jistone@redhat.com> - 1.24.0-2
|
||||||
|
- rhbz1546541: drop full-bootstrap; cmp libs before symlinking.
|
||||||
|
- Backport pr46592 to fix local_rebuild bootstrapping.
|
||||||
|
- Backport pr48362 to fix relative/absolute libdir.
|
||||||
|
|
||||||
|
* Thu Feb 15 2018 Josh Stone <jistone@redhat.com> - 1.24.0-1
|
||||||
|
- Update to 1.24.0.
|
||||||
|
|
||||||
|
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.23.0-4
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
|
* Tue Feb 06 2018 Josh Stone <jistone@redhat.com> - 1.23.0-3
|
||||||
|
- Use full-bootstrap to work around a rebuild issue.
|
||||||
|
- Patch binaryen for GCC 8
|
||||||
|
|
||||||
|
* Thu Feb 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.23.0-2
|
||||||
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
|
* Mon Jan 08 2018 Josh Stone <jistone@redhat.com> - 1.23.0-1
|
||||||
|
- Update to 1.23.0.
|
||||||
|
|
||||||
|
* Thu Nov 23 2017 Josh Stone <jistone@redhat.com> - 1.22.1-1
|
||||||
|
- Update to 1.22.1.
|
||||||
|
|
||||||
|
* Thu Oct 12 2017 Josh Stone <jistone@redhat.com> - 1.21.0-1
|
||||||
|
- Update to 1.21.0.
|
||||||
|
|
||||||
|
* Mon Sep 11 2017 Josh Stone <jistone@redhat.com> - 1.20.0-2
|
||||||
|
- ABI fixes for ppc64 and s390x.
|
||||||
|
|
||||||
|
* Thu Aug 31 2017 Josh Stone <jistone@redhat.com> - 1.20.0-1
|
||||||
|
- Update to 1.20.0.
|
||||||
|
- Add a rust-src subpackage.
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 24 2017 Josh Stone <jistone@redhat.com> - 1.19.0-2
|
||||||
|
- Use find-debuginfo.sh --keep-section .rustc
|
||||||
|
|
||||||
|
* Thu Jul 20 2017 Josh Stone <jistone@redhat.com> - 1.19.0-1
|
||||||
|
- Update to 1.19.0.
|
||||||
|
|
||||||
|
* Thu Jun 08 2017 Josh Stone <jistone@redhat.com> - 1.18.0-1
|
||||||
|
- Update to 1.18.0.
|
||||||
|
|
||||||
|
* Mon May 08 2017 Josh Stone <jistone@redhat.com> - 1.17.0-2
|
||||||
|
- Move shared libraries back to libdir and symlink in rustlib
|
||||||
|
|
||||||
|
* Thu Apr 27 2017 Josh Stone <jistone@redhat.com> - 1.17.0-1
|
||||||
|
- Update to 1.17.0.
|
||||||
|
|
||||||
|
* Mon Mar 20 2017 Josh Stone <jistone@redhat.com> - 1.16.0-3
|
||||||
|
- Make rust-lldb arch-specific to deal with lldb deps
|
||||||
|
|
||||||
|
* Fri Mar 17 2017 Josh Stone <jistone@redhat.com> - 1.16.0-2
|
||||||
|
- Limit rust-lldb arches
|
||||||
|
|
||||||
|
* Thu Mar 16 2017 Josh Stone <jistone@redhat.com> - 1.16.0-1
|
||||||
|
- Update to 1.16.0.
|
||||||
|
- Use rustbuild instead of the old makefiles.
|
||||||
|
- Update bootstrapping to include rust-std and cargo.
|
||||||
|
- Add a rust-lldb subpackage.
|
||||||
|
|
||||||
|
* Thu Feb 09 2017 Josh Stone <jistone@redhat.com> - 1.15.1-1
|
||||||
|
- Update to 1.15.1.
|
||||||
|
- Require rust-rpm-macros for new crate packaging.
|
||||||
|
- Keep shared libraries under rustlib/, only debug-stripped.
|
||||||
|
- Merge and clean up conditionals for epel7.
|
||||||
|
|
||||||
|
* Fri Dec 23 2016 Josh Stone <jistone@redhat.com> - 1.14.0-2
|
||||||
|
- Rebuild without bootstrap binaries.
|
||||||
|
|
||||||
|
* Thu Dec 22 2016 Josh Stone <jistone@redhat.com> - 1.14.0-1
|
||||||
|
- Update to 1.14.0.
|
||||||
|
- Rewrite bootstrap logic to target specific arches.
|
||||||
|
- Bootstrap ppc64, ppc64le, s390x. (thanks to Sinny Kumari for testing!)
|
||||||
|
|
||||||
|
* Thu Nov 10 2016 Josh Stone <jistone@redhat.com> - 1.13.0-1
|
||||||
|
- Update to 1.13.0.
|
||||||
|
- Use hardening flags for linking.
|
||||||
|
- Split the standard library into its own package
|
||||||
|
- Centralize rustlib/ under /usr/lib/ for multilib integration.
|
||||||
|
|
||||||
|
* Thu Oct 20 2016 Josh Stone <jistone@redhat.com> - 1.12.1-1
|
||||||
|
- Update to 1.12.1.
|
||||||
|
|
||||||
|
* Fri Oct 14 2016 Josh Stone <jistone@redhat.com> - 1.12.0-7
|
||||||
|
- Rebuild with LLVM 3.9.
|
||||||
|
- Add ncurses-devel for llvm-config's -ltinfo.
|
||||||
|
|
||||||
|
* Thu Oct 13 2016 Josh Stone <jistone@redhat.com> - 1.12.0-6
|
||||||
|
- Rebuild with llvm-static, preparing for 3.9
|
||||||
|
|
||||||
|
* Fri Oct 07 2016 Josh Stone <jistone@redhat.com> - 1.12.0-5
|
||||||
|
- Rebuild with fixed eu-strip (rhbz1380961)
|
||||||
|
|
||||||
|
* Fri Oct 07 2016 Josh Stone <jistone@redhat.com> - 1.12.0-4
|
||||||
|
- Rebuild without bootstrap binaries.
|
||||||
|
|
||||||
|
* Thu Oct 06 2016 Josh Stone <jistone@redhat.com> - 1.12.0-3
|
||||||
|
- Bootstrap aarch64.
|
||||||
|
- Use jemalloc's MALLOC_CONF to work around #36944.
|
||||||
|
- Apply pr36933 to really disable armv7hl NEON.
|
||||||
|
|
||||||
|
* Sat Oct 01 2016 Josh Stone <jistone@redhat.com> - 1.12.0-2
|
||||||
|
- Protect .rustc from rpm stripping.
|
||||||
|
|
||||||
|
* Fri Sep 30 2016 Josh Stone <jistone@redhat.com> - 1.12.0-1
|
||||||
|
- Update to 1.12.0.
|
||||||
|
- Always use --local-rust-root, even for bootstrap binaries.
|
||||||
|
- Remove the rebuild conditional - the build system now figures it out.
|
||||||
|
- Let minidebuginfo do its thing, since metadata is no longer a note.
|
||||||
|
- Let rust build its own compiler-rt builtins again.
|
||||||
|
|
||||||
|
* Sat Sep 03 2016 Josh Stone <jistone@redhat.com> - 1.11.0-3
|
||||||
|
- Rebuild without bootstrap binaries.
|
||||||
|
|
||||||
|
* Fri Sep 02 2016 Josh Stone <jistone@redhat.com> - 1.11.0-2
|
||||||
|
- Bootstrap armv7hl, with backported no-neon patch.
|
||||||
|
|
||||||
|
* Wed Aug 24 2016 Josh Stone <jistone@redhat.com> - 1.11.0-1
|
||||||
|
- Update to 1.11.0.
|
||||||
|
- Drop the backported patches.
|
||||||
|
- Patch get-stage0.py to trust existing bootstrap binaries.
|
||||||
|
- Use libclang_rt.builtins from compiler-rt, dodging llvm-static issues.
|
||||||
|
- Use --local-rust-root to make sure the right bootstrap is used.
|
||||||
|
|
||||||
|
* Sat Aug 13 2016 Josh Stone <jistone@redhat.com> 1.10.0-4
|
||||||
|
- Rebuild without bootstrap binaries.
|
||||||
|
|
||||||
|
* Fri Aug 12 2016 Josh Stone <jistone@redhat.com> - 1.10.0-3
|
||||||
|
- Initial import into Fedora (#1356907), bootstrapped
|
||||||
|
- Format license text as suggested in review.
|
||||||
|
- Note how the tests already run in parallel.
|
||||||
|
- Undefine _include_minidebuginfo, because it duplicates ".note.rustc".
|
||||||
|
- Don't let checks fail the whole build.
|
||||||
|
- Note that -doc can't be noarch, as rpmdiff doesn't allow variations.
|
||||||
|
|
||||||
|
* Tue Jul 26 2016 Josh Stone <jistone@redhat.com> - 1.10.0-2
|
||||||
|
- Update -doc directory ownership, and mark its licenses.
|
||||||
|
- Package and declare licenses for libbacktrace and hoedown.
|
||||||
|
- Set bootstrap_base as a global.
|
||||||
|
- Explicitly require python2.
|
||||||
|
|
||||||
|
* Thu Jul 14 2016 Josh Stone <jistone@fedoraproject.org> - 1.10.0-1
|
||||||
|
- Initial package, bootstrapped
|
||||||
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-tmt-x86_64-aarch64.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-tmt-s390x-ppc64le.functional}
|
||||||
62
macros.rust-srpm
Normal file
62
macros.rust-srpm
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
# rust_arches: list of architectures where building Rust is supported
|
||||||
|
#
|
||||||
|
# Since RPM itself now depends on Rust code (via its GPG backend, rpm-sequoia),
|
||||||
|
# this list will probably always be a superset of all architectures that are
|
||||||
|
# supported by Fedora, which is why it is no longer required to set
|
||||||
|
# "ExclusiveArch: rust_arches" for Rust packages in Fedora.
|
||||||
|
%rust_arches x86_64 %{ix86} armv7hl aarch64 ppc64 ppc64le riscv64 s390x
|
||||||
|
|
||||||
|
# version_no_tilde: lua macro for reconstructing the original crate version
|
||||||
|
# from the RPM version (i.e. replace any "~" characters with "-")
|
||||||
|
%version_no_tilde() %{lua:
|
||||||
|
local sep = rpm.expand('%1')
|
||||||
|
local ver = rpm.expand('%2')
|
||||||
|
\
|
||||||
|
if sep == '%1' then
|
||||||
|
sep = '-'
|
||||||
|
end
|
||||||
|
\
|
||||||
|
if ver == '%2' then
|
||||||
|
ver = rpm.expand('%version')
|
||||||
|
end
|
||||||
|
ver = ver:gsub('~', sep)
|
||||||
|
\
|
||||||
|
print(ver)
|
||||||
|
}
|
||||||
|
|
||||||
|
# __crates_url: default API endpoint for downloading .crate files from crates.io
|
||||||
|
%__crates_url https://crates.io/api/v1/crates/
|
||||||
|
|
||||||
|
# crates_source: lua macro for constructing the Source URL for a crate
|
||||||
|
%crates_source() %{lua:
|
||||||
|
local crate = rpm.expand('%1')
|
||||||
|
local version = rpm.expand('%2')
|
||||||
|
local url = rpm.expand('%__crates_url')
|
||||||
|
\
|
||||||
|
-- first argument missing: fall back to %crate
|
||||||
|
if crate == '%1' then
|
||||||
|
crate = rpm.expand('%crate')
|
||||||
|
end
|
||||||
|
-- %crate macro not defined: fall back to %name
|
||||||
|
if crate == '%crate' then
|
||||||
|
crate = rpm.expand('%name')
|
||||||
|
end
|
||||||
|
\
|
||||||
|
-- second argument missing: fall back to %crate_version
|
||||||
|
if version == '%2' then
|
||||||
|
version = rpm.expand('%crate_version')
|
||||||
|
end
|
||||||
|
-- %crate_version macro not defined: fall back to %version
|
||||||
|
if version == '%crate_version' then
|
||||||
|
version = rpm.expand('%version')
|
||||||
|
end
|
||||||
|
-- replace '~' with '-' for backwards compatibility
|
||||||
|
-- can be removed in the future
|
||||||
|
version = version:gsub('~', '-')
|
||||||
|
\
|
||||||
|
print(url .. crate .. '/' .. version .. '/download#/' .. crate .. '-' .. version .. '.crate')
|
||||||
|
}
|
||||||
|
|
||||||
|
# __cargo_skip_build: unused macro, set to 0 for backwards compatibility
|
||||||
|
%__cargo_skip_build 0
|
||||||
|
|
||||||
@ -29,6 +29,12 @@
|
|||||||
# -Copt-level: set optimization level (default: highest optimization level)
|
# -Copt-level: set optimization level (default: highest optimization level)
|
||||||
# -Cdebuginfo: set debuginfo verbosity (default: full debug information)
|
# -Cdebuginfo: set debuginfo verbosity (default: full debug information)
|
||||||
# -Ccodegen-units: set number of parallel code generation units (default: 1)
|
# -Ccodegen-units: set number of parallel code generation units (default: 1)
|
||||||
|
# -Cforce-frame-pointers: force inclusion of frame pointers (default: enabled
|
||||||
|
# on x86_64 and aarch64 on Fedora 37+)
|
||||||
|
#
|
||||||
|
# Additionally, some linker flags are set which correspond to the default
|
||||||
|
# Fedora compiler flags for hardening and for embedding package versions into
|
||||||
|
# compiled binaries.
|
||||||
#
|
#
|
||||||
# ref. https://doc.rust-lang.org/rustc/codegen-options/index.html
|
# ref. https://doc.rust-lang.org/rustc/codegen-options/index.html
|
||||||
%build_rustflags %{shrink:
|
%build_rustflags %{shrink:
|
||||||
@ -36,6 +42,8 @@
|
|||||||
-Cdebuginfo=%rustflags_debuginfo
|
-Cdebuginfo=%rustflags_debuginfo
|
||||||
-Ccodegen-units=%rustflags_codegen_units
|
-Ccodegen-units=%rustflags_codegen_units
|
||||||
-Cstrip=none
|
-Cstrip=none
|
||||||
|
%{expr:0%{?_include_frame_pointers} && ("%{_arch}" != "ppc64le" && "%{_arch}" != "s390x" && "%{_arch}" != "i386") ? "-Cforce-frame-pointers=yes" : ""}
|
||||||
|
%[0%{?_package_note_status} ? "-Clink-arg=%_package_note_flags" : ""]
|
||||||
}
|
}
|
||||||
|
|
||||||
# __cargo: cargo command with environment variables
|
# __cargo: cargo command with environment variables
|
||||||
@ -118,32 +126,31 @@ EOF}\
|
|||||||
%{nil} \
|
%{nil} \
|
||||||
}
|
}
|
||||||
|
|
||||||
# NB: cargo_build/test/install do not use the -n/-a/-f argument parsing like
|
# cargo_build: builds the crate with cargo with the specified feature flags
|
||||||
# Fedora's rust-packaging, because that change would break anyone that's
|
%cargo_build(naf:)\
|
||||||
# already passing arguments directly to cargo after the macro. Instead, one can
|
|
||||||
# explicitly use --no-default-features, --all-features, or --features XYZ.
|
|
||||||
|
|
||||||
# cargo_build: builds the crate with cargo
|
|
||||||
%cargo_build\
|
|
||||||
%{shrink: \
|
%{shrink: \
|
||||||
%{__cargo} build \
|
%{__cargo} build \
|
||||||
%{__cargo_common_opts} \
|
%{__cargo_common_opts} \
|
||||||
--profile rpm \
|
--profile rpm \
|
||||||
|
%{__cargo_parse_opts %{-n} %{-a} %{-f:-f%{-f*}}} \
|
||||||
|
%* \
|
||||||
}
|
}
|
||||||
|
|
||||||
# cargo_test: runs the test suite with cargo
|
# cargo_test: runs the test suite with cargo with the specified feature flags
|
||||||
#
|
#
|
||||||
# To pass command-line arguments to the cargo test runners directly (for
|
# To pass command-line arguments to the cargo test runners directly (for
|
||||||
# example, to skip certain tests during package builds), the
|
# example, to skip certain tests during package builds), both the cargo_test
|
||||||
# "cargo test" argument parsing need to be bypassed,
|
# macro argument parsing and "cargo test" argument parsing need to be bypassed,
|
||||||
# i.e. "%%cargo_test -- --skip foo" for skipping all tests with names that
|
# i.e. "%%cargo_test -- -- --skip foo" for skipping all tests with names that
|
||||||
# match "foo".
|
# match "foo".
|
||||||
%cargo_test\
|
%cargo_test(naf:)\
|
||||||
%{shrink: \
|
%{shrink: \
|
||||||
%{__cargo} test \
|
%{__cargo} test \
|
||||||
%{__cargo_common_opts} \
|
%{__cargo_common_opts} \
|
||||||
--profile rpm \
|
--profile rpm \
|
||||||
--no-fail-fast \
|
--no-fail-fast \
|
||||||
|
%{__cargo_parse_opts %{-n} %{-a} %{-f:-f%{-f*}}} \
|
||||||
|
%* \
|
||||||
}
|
}
|
||||||
|
|
||||||
# cargo_install: install files into the buildroot
|
# cargo_install: install files into the buildroot
|
||||||
@ -153,14 +160,19 @@ EOF}\
|
|||||||
# "$CARGO_HOME/.crates.toml" file, which is used to keep track of which version
|
# "$CARGO_HOME/.crates.toml" file, which is used to keep track of which version
|
||||||
# of a specific binary has been installed, but which conflicts between builds
|
# of a specific binary has been installed, but which conflicts between builds
|
||||||
# of different Rust applications and is not needed when building RPM packages.
|
# of different Rust applications and is not needed when building RPM packages.
|
||||||
%cargo_install\
|
%cargo_install(t:naf:)\
|
||||||
%{shrink: \
|
(\
|
||||||
%{__cargo} install \
|
set -euo pipefail \
|
||||||
%{__cargo_common_opts} \
|
%{shrink: \
|
||||||
--profile rpm \
|
%{__cargo} install \
|
||||||
--no-track \
|
%{__cargo_common_opts} \
|
||||||
--path . \
|
--profile rpm \
|
||||||
}
|
--no-track \
|
||||||
|
--path . \
|
||||||
|
%{__cargo_parse_opts %{-n} %{-a} %{-f:-f%{-f*}}} \
|
||||||
|
%* \
|
||||||
|
} \
|
||||||
|
)
|
||||||
|
|
||||||
# cargo_license: print license information for all crate dependencies
|
# cargo_license: print license information for all crate dependencies
|
||||||
#
|
#
|
||||||
11
plans/ci.fmf
Normal file
11
plans/ci.fmf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
summary: CI Gating Plan
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
# Some tests like rpm-build/stratisd needs more memory or they OOM/timeout
|
||||||
|
provision:
|
||||||
|
hardware:
|
||||||
|
memory: ">= 8 GiB"
|
||||||
|
disk:
|
||||||
|
- size: ">= 40GiB"
|
||||||
32
rpminspect.yaml
Normal file
32
rpminspect.yaml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
debuginfo:
|
||||||
|
ignore:
|
||||||
|
# i686 has debuginfo only for libstd. We build the rest with reduced
|
||||||
|
# debuginfo and these will likely fail the inspection.
|
||||||
|
# Ignore all i686 debuginfo from bin and libexec paths.
|
||||||
|
# https://github.com/rust-lang/rust/issues/45854
|
||||||
|
- /usr/lib/debug/usr/bin/*.i386.debug
|
||||||
|
- /usr/lib/debug/usr/libexec/*.i386.debug
|
||||||
|
|
||||||
|
unicode:
|
||||||
|
ignore:
|
||||||
|
# These files are known to contain forbidden unicode chars as
|
||||||
|
# they are tests for those.
|
||||||
|
- rustc-*-src/tests/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs
|
||||||
|
- rustc-*-src/tests/ui/parser/unicode-control-codepoints.rs
|
||||||
|
- rustc-*-src/tests/ui/parser/unicode-control-doc-comment-issue-153096.rs
|
||||||
|
- rustc-*-src/compiler/rustc_lint/src/hidden_unicode_codepoints.rs
|
||||||
|
- rustc-*-src/compiler/rustc_lint_defs/src/builtin.rs
|
||||||
|
- rustc-*-src/vendor/idna/tests/IdnaTestV2.txt
|
||||||
|
- rustc-*-src/vendor/idna-*/tests/IdnaTestV2.txt
|
||||||
|
- rustc-*-src/vendor/mdbook*/tests/dummy_book/src/first/unicode.md
|
||||||
|
- rustc-*-src/vendor/mdbook*/tests/searchindex_fixture.json
|
||||||
|
- rustc-*-src/vendor/mdbook*/tests/testsuite/search/reasonable_search_index/expected_index.js
|
||||||
|
- rustc-*-src/vendor/mdbook*/tests/testsuite/search/reasonable_search_index/src/first/unicode.md
|
||||||
|
- rustc-*-src/vendor/wast-*/tests/parse-fail/confusing-string?.wat
|
||||||
|
- rustc-*-src/vendor/wast-*/tests/parse-fail/confusing-block-comment?.wat
|
||||||
|
- rustc-*-src/vendor/wast-*/tests/parse-fail/confusing-line-comment?.wat
|
||||||
|
- rustc-*-src/src/llvm-project/clang-tools-extra/docs/clang-tidy/checks/misc/misleading-bidirectional.rst
|
||||||
|
- rustc-*-src/src/gcc/gcc/testsuite/c-c++-common/*Wbidi*.c
|
||||||
|
- rustc-*-src/tests/ui/parser/macro/unicode-control-codepoints-macros.rs
|
||||||
|
- rustc-*-src/tests/ui/parser/macro/auxiliary/unicode-control.rs
|
||||||
86
rust-key.gpg.ascii
Normal file
86
rust-key.gpg.ascii
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: GnuPG v1
|
||||||
|
|
||||||
|
mQINBFJEwMkBEADlPACa2K7reD4x5zd8afKx75QYKmxqZwywRbgeICeD4bKiQoJZ
|
||||||
|
dUjmn1LgrGaXuBMKXJQhyA34e/1YZel/8et+HPE5XpljBfNYXWbVocE1UMUTnFU9
|
||||||
|
CKXa4AhJ33f7we2/QmNRMUifw5adPwGMg4D8cDKXk02NdnqQlmFByv0vSaArR5kn
|
||||||
|
gZKnLY6o0zZ9Buyy761Im/ShXqv4ATUgYiFc48z33G4j+BDmn0ryGr1aFdP58tHp
|
||||||
|
gjWtLZs0iWeFNRDYDje6ODyu/MjOyuAWb2pYDH47Xu7XedMZzenH2TLM9yt/hyOV
|
||||||
|
xReDPhvoGkaO8xqHioJMoPQi1gBjuBeewmFyTSPS4deASukhCFOcTsw/enzJagiS
|
||||||
|
ZAq6Imehduke+peAL1z4PuRmzDPO2LPhVS7CDXtuKAYqUV2YakTq8MZUempVhw5n
|
||||||
|
LqVaJ5/XiyOcv405PnkT25eIVVVghxAgyz6bOU/UMjGQYlkUxI7YZ9tdreLlFyPR
|
||||||
|
OUL30E8q/aCd4PGJV24yJ1uit+yS8xjyUiMKm4J7oMP2XdBN98TUfLGw7SKeAxyU
|
||||||
|
92BHlxg7yyPfI4TglsCzoSgEIV6xoGOVRRCYlGzSjUfz0bCMCclhTQRBkegKcjB3
|
||||||
|
sMTyG3SPZbjTlCqrFHy13e6hGl37Nhs8/MvXUysq2cluEISn5bivTKEeeQARAQAB
|
||||||
|
tERSdXN0IExhbmd1YWdlIChUYWcgYW5kIFJlbGVhc2UgU2lnbmluZyBLZXkpIDxy
|
||||||
|
dXN0LWtleUBydXN0LWxhbmcub3JnPokCOAQTAQIAIgUCUkTAyQIbAwYLCQgHAwIG
|
||||||
|
FQgCCQoLBBYCAwECHgECF4AACgkQhauW5vob5f5fYQ//b1DWK1NSGx5nZ3zYZeHJ
|
||||||
|
9mwGCftIaA2IRghAGrNf4Y8DaPqR+w1OdIegWn8kCoGfPfGAVW5XXJg+Oxk6QIaD
|
||||||
|
2hJojBUrq1DALeCZVewzTVw6BN4DGuUexsc53a8DcY2Yk5WE3ll6UKq/YPiWiPNX
|
||||||
|
9r8FE2MJwMABB6mWZLqJeg4RCrriBiCG26NZxGE7RTtPHyppoVxWKAFDiWyNdJ+3
|
||||||
|
UnjldWrT9xFqjqfXWw9Bhz8/EoaGeSSbMIAQDkQQpp1SWpljpgqvctZlc5fHhsG6
|
||||||
|
lmzW5RM4NG8OKvq3UrBihvgzwrIfoEDKpXbk3DXqaSs1o81NH5ftVWWbJp/ywM9Q
|
||||||
|
uMC6n0YWiMZMQ1cFBy7tukpMkd+VPbPkiSwBhPkfZIzUAWd74nanN5SKBtcnymgJ
|
||||||
|
+OJcxfZLiUkXRj0aUT1GLA9/7wnikhJI+RvwRfHBgrssXBKNPOfXGWajtIAmZc2t
|
||||||
|
kR1E8zjBVLId7r5M8g52HKk+J+y5fVgJY91nxG0zf782JjtYuz9+knQd55JLFJCO
|
||||||
|
hhbv3uRvhvkqgauHagR5X9vCMtcvqDseK7LXrRaOdOUDrK/Zg/abi5d+NIyZfEt/
|
||||||
|
ObFsv3idAIe/zpU6xa1nYNe3+Ixlb6mlZm3WCWGxWe+GvNW/kq36jZ/v/8pYMyVO
|
||||||
|
p/kJqnf9y4dbufuYBg+RLqC5Ag0EUkTAyQEQANxy2tTSeRspfrpBk9+ju+KZ3zc4
|
||||||
|
umaIsEa5DxJ2zIKHywVAR67Um0K1YRG07/F5+tD9TIRkdx2pcmpjmSQzqdk3zqa9
|
||||||
|
2Zzeijjz2RNyBY8qYmyE08IncjTsFFB8OnvdXcsAgjCFmI1BKnePxrABL/2k8X18
|
||||||
|
aysPb0beWqQVsi5FsSpAHu6k1kaLKc+130x6Hf/YJAjeo+S7HeU5NeOz3zD+h5bA
|
||||||
|
Q25qMiVHX3FwH7rFKZtFFog9Ogjzi0TkDKKxoeFKyADfIdteJWFjOlCI9KoIhfXq
|
||||||
|
Et9JMnxApGqsJElJtfQjIdhMN4Lnep2WkudHAfwJ/412fe7wiW0rcBMvr/BlBGRY
|
||||||
|
vM4sTgN058EwIuY9Qmc8RK4gbBf6GsfGNJjWozJ5XmXElmkQCAvbQFoAfi5TGfVb
|
||||||
|
77QQrhrQlSpfIYrvfpvjYoqj618SbU6uBhzh758gLllmMB8LOhxWtq9eyn1rMWyR
|
||||||
|
KL1fEkfvvMc78zP+Px6yDMa6UIez8jZXQ87Zou9EriLbzF4QfIYAqR9LUSMnLk6K
|
||||||
|
o61tSFmFEDobC3tc1jkSg4zZe/wxskn96KOlmnxgMGO0vJ7ASrynoxEnQE8k3WwA
|
||||||
|
+/YJDwboIR7zDwTy3Jw3mn1FgnH+c7Rb9h9geOzxKYINBFz5Hd0MKx7kZ1U6WobW
|
||||||
|
KiYYxcCmoEeguSPHABEBAAGJAh8EGAECAAkFAlJEwMkCGwwACgkQhauW5vob5f7f
|
||||||
|
FA//Ra+itJF4NsEyyhx4xYDOPq4uj0VWVjLdabDvFjQtbBLwIyh2bm8uO3AY4r/r
|
||||||
|
rM5WWQ8oIXQ2vvXpAQO9g8iNlFez6OLzbfdSG80AG74pQqVVVyCQxD7FanB/KGge
|
||||||
|
tAoOstFxaCAg4nxFlarMctFqOOXCFkylWl504JVIOvgbbbyj6I7qCUmbmqazBSMU
|
||||||
|
K8c/Nz+FNu2Uf/lYWOeGogRSBgS0CVBcbmPUpnDHLxZWNXDWQOCxbhA1Uf58hcyu
|
||||||
|
036kkiWHh2OGgJqlo2WIraPXx1cGw1Ey+U6exbtrZfE5kM9pZzRG7ZY83CXpYWMp
|
||||||
|
kyVXNWmf9JcIWWBrXvJmMi0FDvtgg3Pt1tnoxqdilk6yhieFc8LqBn6CZgFUBk0t
|
||||||
|
NSaWk3PsN0N6Ut8VXY6sai7MJ0Gih1gE1xadWj2zfZ9sLGyt2jZ6wK++U881YeXA
|
||||||
|
ryaGKJ8sIs182hwQb4qN7eiUHzLtIh8oVBHo8Q4BJSat88E5/gOD6IQIpxc42iRL
|
||||||
|
T+oNZw1hdwNyPOT1GMkkn86l3o7klwmQUWCPm6vl1aHp3omo+GHC63PpNFO5RncJ
|
||||||
|
Ilo3aBKKmoE5lDSMGE8KFso5awTo9z9QnVPkRsk6qeBYit9xE3x3S+iwjcSg0nie
|
||||||
|
aAkc0N00nc9V9jfPvt4z/5A5vjHh+NhFwH5h2vBJVPdsz6m5Ag0EVI9keAEQAL3R
|
||||||
|
oVsHncJTmjHfBOV4JJsvCum4DuJDZ/rDdxauGcjMUWZaG338ZehnDqG1Yn/ys7zE
|
||||||
|
aKYUmqyT+XP+M2IAQRTyxwlU1RsDlemQfWrESfZQCCmbnFScL0E7cBzy4xvtInQe
|
||||||
|
UaFgJZ1BmxbzQrx+eBBdOTDv7RLnNVygRmMzmkDhxO1IGEu1+3ETIg/DxFE7VQY0
|
||||||
|
It/Ywz+nHu1o4Hemc/GdKxu9hcYvcRVc/Xhueq/zcIM96l0m+CFbs0HMKCj8dgMe
|
||||||
|
Ng6pbbDjNM+cV+5BgpRdIpE2l9W7ImpbLihqcZt47J6oWt/RDRVoKOzRxjhULVyV
|
||||||
|
2VP9ESr48HnbvxcpvUAEDCQUhsGpur4EKHFJ9AmQ4zf91gWLrDc6QmlACn9o9ARU
|
||||||
|
fOV5aFsZI9ni1MJEInJTP37stz/uDECRie4LTL4O6P4Dkto8ROM2wzZq5CiRNfnT
|
||||||
|
PP7ARfxlCkpg+gpLYRlxGUvRn6EeYwDtiMQJUQPfpGHSvThUlgDEsDrpp4SQSmdA
|
||||||
|
CB+rvaRqCawWKoXs0In/9wylGorRUupeqGC0I0/rh+f5mayFvORzwy/4KK4QIEV9
|
||||||
|
aYTXTvSRl35MevfXU1Cumlaqle6SDkLr3ZnFQgJBqap0Y+Nmmz2HfO/pohsbtHPX
|
||||||
|
92SN3dKqaoSBvzNGY5WT3CsqxDtik37kR3f9/DHpABEBAAGJBD4EGAECAAkFAlSP
|
||||||
|
ZHgCGwICKQkQhauW5vob5f7BXSAEGQECAAYFAlSPZHgACgkQXLSpNHs7CdwemA/+
|
||||||
|
KFoGuFqU0uKT9qblN4ugRyil5itmTRVffl4tm5OoWkW8uDnu7Ue3vzdzy+9NV8X2
|
||||||
|
wRG835qjXijWP++AGuxgW6LB9nV5OWiKMCHOWnUjJQ6pNQMAgSN69QzkFXVF/q5f
|
||||||
|
bkma9TgSbwjrVMyPzLSRwq7HsT3V02Qfr4cyq39QeILGy/NHW5z6LZnBy3BaVSd0
|
||||||
|
lGjCEc3yfH5OaB79na4W86WCV5n4IT7cojFM+LdL6P46RgmEtWSG3/CDjnJl6BLR
|
||||||
|
WqatRNBWLIMKMpn+YvOOL9TwuP1xbqWr1vZ66wksm53NIDcWhptpp0KEuzbU0/Dt
|
||||||
|
OltBhcX8tOmO36LrSadX9rwckSETCVYklmpAHNxPml011YNDThtBidvsicw1vZwR
|
||||||
|
HsXn+txlL6RAIRN+J/Rw3uOiJAqN9Qgedpx2q+E15t8MiTg/FXtB9SysnskFT/BH
|
||||||
|
z0USNKJUY0btZBw3eXWzUnZf59D8VW1M/9JwznCHAx0c9wy/gRDiwt9w4RoXryJD
|
||||||
|
VAwZg8rwByjldoiThUJhkCYvJ0R3xH3kPnPlGXDW49E9R8C2umRC3cYOL4U9dOQ1
|
||||||
|
5hSlYydF5urFGCLIvodtE9q80uhpyt8L/5jj9tbwZWv6JLnfBquZSnCGqFZRfXlb
|
||||||
|
Jphk9+CBQWwiZSRLZRzqQ4ffl4xyLuolx01PMaatkQbRaw/+JpgRNlurKQ0PsTrO
|
||||||
|
8tztO/tpBBj/huc2DGkSwEWvkfWElS5RLDKdoMVs/j5CLYUJzZVikUJRm7m7b+OA
|
||||||
|
P3W1nbDhuID+XV1CSBmGifQwpoPTys21stTIGLgznJrIfE5moFviOLqD/LrcYlsq
|
||||||
|
CQg0yleu7SjOs//8dM3mC2FyLaE/dCZ8l2DCLhHw0+ynyRAvSK6aGCmZz6jMjmYF
|
||||||
|
MXgiy7zESksMnVFMulIJJhR3eB0wx2GitibjY/ZhQ7tD3i0yy9ILR07dFz4pgkVM
|
||||||
|
afxpVR7fmrMZ0t+yENd+9qzyAZs0ksxORoc2ze90SCx2jwEX/3K+m4I0hP2H/w5W
|
||||||
|
gqdvuRLiqf+4BGW4zqWkLLlNIe/okt0r82SwHtDN0Ui1asmZTGj6sm8SXtwx+5cE
|
||||||
|
38MttWqjDiibQOSthRVcETByRYM8KcjYSUCi4PoBc3NpDONkFbZm6XofR/f5mTcl
|
||||||
|
2jDw6fIeVc4Hd1jBGajNzEqtneqqbdAkPQaLsuD2TMkQfTDJfE/IljwjrhDa9Mi+
|
||||||
|
odtnMWq8vlwOZZ24/8/BNK5qXuCYL67O7AJB4ZQ6BT+g4z96iRLbupzu/XJyXkQF
|
||||||
|
rOY/Ghegvn7fDrnt2KC9MpgeFBXzUp+k5rzUdF8jbCx5apVjA1sWXB9Kh3L+DUwF
|
||||||
|
Mve696B5tlHyc1KxjHR6w9GRsh4=
|
||||||
|
=5FXw
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: rust
|
Name: rust
|
||||||
Version: 1.92.0
|
Version: 1.96.0
|
||||||
Release: 1%{?dist}
|
Release: %autorelease
|
||||||
Summary: The Rust Programming Language
|
Summary: The Rust Programming Language
|
||||||
License: (Apache-2.0 OR MIT) AND (Artistic-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-3.0)
|
License: (Apache-2.0 OR MIT) AND (Artistic-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-3.0)
|
||||||
# ^ written as: (rust itself) and (bundled libraries)
|
# ^ written as: (rust itself) and (bundled libraries)
|
||||||
@ -8,15 +8,15 @@ URL: https://www.rust-lang.org
|
|||||||
|
|
||||||
# Only x86_64, i686, and aarch64 are Tier 1 platforms at this time.
|
# Only x86_64, i686, and aarch64 are Tier 1 platforms at this time.
|
||||||
# https://doc.rust-lang.org/nightly/rustc/platform-support.html
|
# https://doc.rust-lang.org/nightly/rustc/platform-support.html
|
||||||
%global rust_arches x86_64 i686 aarch64 ppc64le s390x
|
%global rust_arches x86_64 i686 armv7hl aarch64 ppc64le s390x riscv64
|
||||||
ExclusiveArch: %{rust_arches}
|
ExclusiveArch: %{rust_arches}
|
||||||
|
|
||||||
# To bootstrap from scratch, set the channel and date from src/stage0
|
# To bootstrap from scratch, set the channel and date from src/stage0
|
||||||
# e.g. 1.89.0 wants rustc: 1.88.0-2025-06-26
|
# e.g. 1.89.0 wants rustc: 1.88.0-2025-06-26
|
||||||
# or nightly wants some beta-YYYY-MM-DD
|
# or nightly wants some beta-YYYY-MM-DD
|
||||||
%global bootstrap_version 1.91.0
|
%global bootstrap_version 1.95.0
|
||||||
%global bootstrap_channel 1.91.0
|
%global bootstrap_channel 1.95.0
|
||||||
%global bootstrap_date 2025-10-30
|
%global bootstrap_date 2026-04-16
|
||||||
|
|
||||||
# Only the specified arches will use bootstrap binaries.
|
# Only the specified arches will use bootstrap binaries.
|
||||||
# NOTE: Those binaries used to be uploaded with every new release, but that was
|
# NOTE: Those binaries used to be uploaded with every new release, but that was
|
||||||
@ -28,7 +28,7 @@ ExclusiveArch: %{rust_arches}
|
|||||||
# We need CRT files for *-wasi targets, at least as new as the commit in
|
# 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
|
# src/ci/docker/host-x86_64/dist-various-2/build-wasi-toolchain.sh
|
||||||
%global wasi_libc_url https://github.com/WebAssembly/wasi-libc
|
%global wasi_libc_url https://github.com/WebAssembly/wasi-libc
|
||||||
%global wasi_libc_ref wasi-sdk-27
|
%global wasi_libc_ref wasi-sdk-32
|
||||||
%global wasi_libc_name wasi-libc-%{wasi_libc_ref}
|
%global wasi_libc_name wasi-libc-%{wasi_libc_ref}
|
||||||
%global wasi_libc_source %{wasi_libc_url}/archive/%{wasi_libc_ref}/%{wasi_libc_name}.tar.gz
|
%global wasi_libc_source %{wasi_libc_url}/archive/%{wasi_libc_ref}/%{wasi_libc_name}.tar.gz
|
||||||
%global wasi_libc_dir %{_builddir}/%{wasi_libc_name}
|
%global wasi_libc_dir %{_builddir}/%{wasi_libc_name}
|
||||||
@ -42,37 +42,29 @@ ExclusiveArch: %{rust_arches}
|
|||||||
%bcond_with llvm_static
|
%bcond_with llvm_static
|
||||||
|
|
||||||
# We can also choose to just use Rust's bundled LLVM, in case the system LLVM
|
# We can also choose to just use Rust's bundled LLVM, in case the system LLVM
|
||||||
# is insufficient. Rust currently requires LLVM 19.0+.
|
# is insufficient. Rust currently requires LLVM 21.0+.
|
||||||
# See src/bootstrap/src/core/build_steps/llvm.rs, fn check_llvm_version
|
# See src/bootstrap/src/core/build_steps/llvm.rs, fn check_llvm_version
|
||||||
%global min_llvm_version 20.0.0
|
# See src/llvm-project/cmake/Modules/LLVMVersion.cmake for bundled version.
|
||||||
%global bundled_llvm_version 21.1.3
|
%global min_llvm_version 21.0.0
|
||||||
#global llvm_compat_version 19
|
%global bundled_llvm_version 22.1.2
|
||||||
|
#global llvm_compat_version 21
|
||||||
%global llvm llvm%{?llvm_compat_version}
|
%global llvm llvm%{?llvm_compat_version}
|
||||||
%bcond_with bundled_llvm
|
%bcond_with bundled_llvm
|
||||||
|
|
||||||
# Requires stable libgit2 1.9, and not the next minor soname change.
|
# Requires stable libgit2 1.9, and not the next minor soname change.
|
||||||
# This needs to be consistent with the bindings in vendor/libgit2-sys.
|
# This needs to be consistent with the bindings in vendor/libgit2-sys.
|
||||||
%global min_libgit2_version 1.9.0
|
%global min_libgit2_version 1.9.2
|
||||||
%global next_libgit2_version 1.10.0~
|
%global next_libgit2_version 1.10.0~
|
||||||
%global bundled_libgit2_version 1.9.1
|
%global bundled_libgit2_version 1.9.2
|
||||||
%if 0%{?fedora} >= 41
|
%if 0%{?fedora} >= 41
|
||||||
%bcond_with bundled_libgit2
|
%bcond_with bundled_libgit2
|
||||||
%else
|
%else
|
||||||
%bcond_without bundled_libgit2
|
%bcond_without bundled_libgit2
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Try to use system oniguruma (only used at build time for rust-docs)
|
|
||||||
# src/tools/rustbook -> ... -> onig_sys v69.9.1 needs at least 6.9.3
|
|
||||||
%global min_oniguruma_version 6.9.3
|
|
||||||
%if 0%{?rhel} && 0%{?rhel} < 9
|
|
||||||
%bcond_without bundled_oniguruma
|
|
||||||
%else
|
|
||||||
%bcond_with bundled_oniguruma
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Cargo uses UPSERTs with omitted conflict targets
|
# Cargo uses UPSERTs with omitted conflict targets
|
||||||
%global min_sqlite3_version 3.35
|
%global min_sqlite3_version 3.35
|
||||||
%global bundled_sqlite3_version 3.50.2
|
%global bundled_sqlite3_version 3.51.3
|
||||||
%if 0%{?rhel} && 0%{?rhel} < 10
|
%if 0%{?rhel} && 0%{?rhel} < 10
|
||||||
%bcond_without bundled_sqlite3
|
%bcond_without bundled_sqlite3
|
||||||
%else
|
%else
|
||||||
@ -118,7 +110,11 @@ ExclusiveArch: %{rust_arches}
|
|||||||
rpm.define("rustc_package rustc-" .. version_channel .. "-src")
|
rpm.define("rustc_package rustc-" .. version_channel .. "-src")
|
||||||
end}
|
end}
|
||||||
Source0: https://static.rust-lang.org/dist/%{rustc_package}.tar.xz
|
Source0: https://static.rust-lang.org/dist/%{rustc_package}.tar.xz
|
||||||
Source1: %{wasi_libc_source}
|
Source1: https://static.rust-lang.org/dist/%{rustc_package}.tar.xz.asc
|
||||||
|
Source2: https://static.rust-lang.org/rust-key.gpg.ascii
|
||||||
|
|
||||||
|
Source10: %{wasi_libc_source}
|
||||||
|
|
||||||
# Sources for bootstrap_arches are inserted by lua below
|
# Sources for bootstrap_arches are inserted by lua below
|
||||||
|
|
||||||
# By default, rust tries to use "rust-lld" as a linker for some targets.
|
# By default, rust tries to use "rust-lld" as a linker for some targets.
|
||||||
@ -138,7 +134,7 @@ Patch4: 0001-bootstrap-allow-disabling-target-self-contained.patch
|
|||||||
Patch5: 0002-set-an-external-library-path-for-wasm32-wasi.patch
|
Patch5: 0002-set-an-external-library-path-for-wasm32-wasi.patch
|
||||||
|
|
||||||
# We don't want to use the bundled library in libsqlite3-sys
|
# We don't want to use the bundled library in libsqlite3-sys
|
||||||
Patch6: rustc-1.92.0-unbundle-sqlite.patch
|
Patch6: rustc-1.96.0-unbundle-sqlite.patch
|
||||||
|
|
||||||
# stage0 tries to copy all of /usr/lib, sometimes unsuccessfully, see #143735
|
# stage0 tries to copy all of /usr/lib, sometimes unsuccessfully, see #143735
|
||||||
Patch7: 0001-only-copy-rustlib-into-stage0-sysroot.patch
|
Patch7: 0001-only-copy-rustlib-into-stage0-sysroot.patch
|
||||||
@ -147,11 +143,12 @@ Patch7: 0001-only-copy-rustlib-into-stage0-sysroot.patch
|
|||||||
|
|
||||||
# Simple rpm macros for rust-toolset (as opposed to full rust-packaging)
|
# Simple rpm macros for rust-toolset (as opposed to full rust-packaging)
|
||||||
Source100: macros.rust-toolset
|
Source100: macros.rust-toolset
|
||||||
Source101: cargo_vendor.attr
|
Source101: macros.rust-srpm
|
||||||
Source102: cargo_vendor.prov
|
Source102: cargo_vendor.attr
|
||||||
|
Source103: cargo_vendor.prov
|
||||||
|
|
||||||
# Disable cargo->libgit2->libssh2 on RHEL, as it's not approved for FIPS (rhbz1732949)
|
# Disable cargo->libgit2->libssh2 on RHEL, as it's not approved for FIPS (rhbz1732949)
|
||||||
Patch100: rustc-1.92.0-disable-libssh2.patch
|
Patch100: rustc-1.96.0-disable-libssh2.patch
|
||||||
|
|
||||||
# Get the Rust triple for any architecture and ABI.
|
# Get the Rust triple for any architecture and ABI.
|
||||||
%{lua: function rust_triple(arch, abi)
|
%{lua: function rust_triple(arch, abi)
|
||||||
@ -217,15 +214,21 @@ end}
|
|||||||
local channel = rpm.expand("%{bootstrap_channel}")
|
local channel = rpm.expand("%{bootstrap_channel}")
|
||||||
local target_arch = rpm.expand("%{_target_cpu}")
|
local target_arch = rpm.expand("%{_target_cpu}")
|
||||||
for i, arch in ipairs(bootstrap_arches) do
|
for i, arch in ipairs(bootstrap_arches) do
|
||||||
i = 1000 + i * 3
|
i = 1000 + i * 6
|
||||||
local suffix = channel.."-"..rust_triple(arch)
|
local suffix = channel.."-"..rust_triple(arch)
|
||||||
print(string.format("Source%d: %s/cargo-%s.tar.xz\n", i, base, suffix))
|
print(string.format("Source%d: %s/cargo-%s.tar.xz\n", i, base, suffix))
|
||||||
print(string.format("Source%d: %s/rustc-%s.tar.xz\n", i+1, base, suffix))
|
print(string.format("Source%d: %s/cargo-%s.tar.xz.asc\n", i+1, base, suffix))
|
||||||
print(string.format("Source%d: %s/rust-std-%s.tar.xz\n", i+2, base, suffix))
|
print(string.format("Source%d: %s/rustc-%s.tar.xz\n", i+2, base, suffix))
|
||||||
|
print(string.format("Source%d: %s/rustc-%s.tar.xz.asc\n", i+3, base, suffix))
|
||||||
|
print(string.format("Source%d: %s/rust-std-%s.tar.xz\n", i+4, base, suffix))
|
||||||
|
print(string.format("Source%d: %s/rust-std-%s.tar.xz.asc\n", i+5, base, suffix))
|
||||||
if arch == target_arch then
|
if arch == target_arch then
|
||||||
rpm.define("bootstrap_source_cargo "..i)
|
rpm.define("bootstrap_source_cargo "..i)
|
||||||
rpm.define("bootstrap_source_rustc "..i+1)
|
rpm.define("bootstrap_sig_cargo "..i+1)
|
||||||
rpm.define("bootstrap_source_std "..i+2)
|
rpm.define("bootstrap_source_rustc "..i+2)
|
||||||
|
rpm.define("bootstrap_sig_rustc "..i+3)
|
||||||
|
rpm.define("bootstrap_source_std "..i+4)
|
||||||
|
rpm.define("bootstrap_sig_std "..i+5)
|
||||||
rpm.define("bootstrap_suffix "..suffix)
|
rpm.define("bootstrap_suffix "..suffix)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -241,28 +244,31 @@ BuildRequires: (%{name} >= %{bootstrap_version} with %{name} <= %{version})
|
|||||||
%global local_rust_root %{_prefix}
|
%global local_rust_root %{_prefix}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} < 11
|
||||||
|
BuildRequires: gnupg2
|
||||||
|
%else
|
||||||
|
BuildRequires: gpgverify
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc-toolset-14-annobin-plugin-gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-toolset-14-gcc-plugin-annobin
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gcc-toolset-14-binutils
|
|
||||||
BuildRequires: gcc-toolset-14-gcc
|
|
||||||
BuildRequires: gcc-toolset-14-gcc-c++
|
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
# explicit curl-devel to avoid httpd24-curl (rhbz1540167)
|
# explicit curl-devel to avoid httpd24-curl (rhbz1540167)
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
BuildRequires: pkgconfig(libcurl)
|
BuildRequires: pkgconfig(libcurl)
|
||||||
BuildRequires: pkgconfig(liblzma)
|
BuildRequires: pkgconfig(liblzma)
|
||||||
BuildRequires: pkgconfig(openssl)
|
|
||||||
|
# Only specific versions of openssl are supported. They are 1.0.2 - 1.1.1, or 3
|
||||||
|
# The openssl-sys crate will also verify the release is supported.
|
||||||
|
BuildRequires: pkgconfig(openssl) < 4
|
||||||
|
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
%if %{without bundled_libgit2}
|
%if %{without bundled_libgit2}
|
||||||
BuildRequires: (pkgconfig(libgit2) >= %{min_libgit2_version} with pkgconfig(libgit2) < %{next_libgit2_version})
|
BuildRequires: (pkgconfig(libgit2) >= %{min_libgit2_version} with pkgconfig(libgit2) < %{next_libgit2_version})
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{without bundled_oniguruma}
|
|
||||||
BuildRequires: pkgconfig(oniguruma) >= %{min_oniguruma_version}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{without bundled_sqlite3}
|
%if %{without bundled_sqlite3}
|
||||||
BuildRequires: pkgconfig(sqlite3) >= %{min_sqlite3_version}
|
BuildRequires: pkgconfig(sqlite3) >= %{min_sqlite3_version}
|
||||||
%endif
|
%endif
|
||||||
@ -303,6 +309,10 @@ BuildRequires: procps-ng
|
|||||||
|
|
||||||
# debuginfo-gdb tests need gdb
|
# debuginfo-gdb tests need gdb
|
||||||
BuildRequires: gdb
|
BuildRequires: gdb
|
||||||
|
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=2275274:
|
||||||
|
# gdb currently prints a "Unable to load 'rpm' module. Please install the python3-rpm package."
|
||||||
|
# message that breaks version detection.
|
||||||
|
BuildRequires: python3-rpm
|
||||||
|
|
||||||
# For src/test/run-make/static-pie
|
# For src/test/run-make/static-pie
|
||||||
BuildRequires: glibc-static
|
BuildRequires: glibc-static
|
||||||
@ -360,6 +370,7 @@ BuildRequires: mingw64-winpthreads-static
|
|||||||
%if %defined wasm_targets
|
%if %defined wasm_targets
|
||||||
%if %with bundled_wasi_libc
|
%if %with bundled_wasi_libc
|
||||||
BuildRequires: clang%{?llvm_compat_version}
|
BuildRequires: clang%{?llvm_compat_version}
|
||||||
|
BuildRequires: cmake >= 3.26
|
||||||
%else
|
%else
|
||||||
BuildRequires: wasi-libc-static
|
BuildRequires: wasi-libc-static
|
||||||
%endif
|
%endif
|
||||||
@ -519,7 +530,7 @@ programs.
|
|||||||
Summary: LLDB pretty printers for Rust
|
Summary: LLDB pretty printers for Rust
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: lldb
|
Requires: lldb
|
||||||
Requires: python3.12-lldb
|
Requires: python3-lldb
|
||||||
Requires: %{name}-debugger-common = %{version}-%{release}
|
Requires: %{name}-debugger-common = %{version}-%{release}
|
||||||
# rust-lldb uses rustc to find the sysroot
|
# rust-lldb uses rustc to find the sysroot
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -633,11 +644,25 @@ useful as a reference for code completion tools in various editors.
|
|||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
|
|
||||||
|
%package toolset-srpm-macros
|
||||||
|
Summary: RPM macros for building Rust source packages
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
# This used to be from its own source package, versioned like rust2rpm.
|
||||||
|
Obsoletes: rust-srpm-macros < 18~
|
||||||
|
Provides: rust-srpm-macros = 25.2
|
||||||
|
|
||||||
|
%description toolset-srpm-macros
|
||||||
|
RPM macros for building source packages for Rust projects.
|
||||||
|
|
||||||
|
|
||||||
%package toolset
|
%package toolset
|
||||||
Summary: Rust Toolset
|
Summary: Rust Toolset
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: rust = %{version}-%{release}
|
Requires: rust = %{version}-%{release}
|
||||||
Requires: cargo = %{version}-%{release}
|
Requires: cargo = %{version}-%{release}
|
||||||
|
Requires: rust-toolset-srpm-macros = %{version}-%{release}
|
||||||
|
Conflicts: cargo-rpm-macros
|
||||||
|
|
||||||
%description toolset
|
%description toolset
|
||||||
This is the metapackage for Rust Toolset, bringing in the Rust compiler,
|
This is the metapackage for Rust Toolset, bringing in the Rust compiler,
|
||||||
@ -647,8 +672,12 @@ the Cargo package manager, and a few convenience macros for rpm builds.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%gpgverify -k 2 -s 1 -d 0
|
||||||
|
|
||||||
%ifarch %{bootstrap_arches}
|
%ifarch %{bootstrap_arches}
|
||||||
|
%gpgverify -k 2 -s %{bootstrap_sig_cargo} -d %{bootstrap_source_cargo}
|
||||||
|
%gpgverify -k 2 -s %{bootstrap_sig_rustc} -d %{bootstrap_source_rustc}
|
||||||
|
%gpgverify -k 2 -s %{bootstrap_sig_std} -d %{bootstrap_source_std}
|
||||||
rm -rf %{local_rust_root}
|
rm -rf %{local_rust_root}
|
||||||
%setup -q -n cargo-%{bootstrap_suffix} -T -b %{bootstrap_source_cargo}
|
%setup -q -n cargo-%{bootstrap_suffix} -T -b %{bootstrap_source_cargo}
|
||||||
./install.sh --prefix=%{local_rust_root} --disable-ldconfig
|
./install.sh --prefix=%{local_rust_root} --disable-ldconfig
|
||||||
@ -661,12 +690,18 @@ test -f '%{local_rust_root}/bin/rustc'
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{defined wasm_targets} && %{with bundled_wasi_libc}
|
%if %{defined wasm_targets} && %{with bundled_wasi_libc}
|
||||||
%setup -q -n %{wasi_libc_name} -T -b 1
|
%setup -q -n %{wasi_libc_name} -T -b 10
|
||||||
rm -rf %{wasi_libc_dir}/dlmalloc/
|
# We want to make sure we use emmalloc instead of CC0 dlmalloc.
|
||||||
|
# The cmake files need the sources to exist, so just truncate instead.
|
||||||
|
truncate --no-create --size=0 %{wasi_libc_dir}/dlmalloc/src/*.c
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%setup -q -n %{rustc_package}
|
%setup -q -n %{rustc_package}
|
||||||
|
|
||||||
|
# Sanity check that the source version is what we expect,
|
||||||
|
# especially for betas where the tarball is unversioned.
|
||||||
|
test "$(cut -d' ' -f1 ./version)" = "%{lua: print((rpm.expand('%version'):gsub('~', '-'))) }"
|
||||||
|
|
||||||
%patch -P1 -p1
|
%patch -P1 -p1
|
||||||
%patch -P2 -p1
|
%patch -P2 -p1
|
||||||
%patch -P3 -p1
|
%patch -P3 -p1
|
||||||
@ -711,15 +746,12 @@ rm -rf src/tools/rustc-perf/collector/*-benchmarks/
|
|||||||
%clear_dir vendor/libz-sys*/src/zlib{,-ng}/
|
%clear_dir vendor/libz-sys*/src/zlib{,-ng}/
|
||||||
%clear_dir vendor/lzma-sys*/xz-*/
|
%clear_dir vendor/lzma-sys*/xz-*/
|
||||||
%clear_dir vendor/openssl-src*/openssl/
|
%clear_dir vendor/openssl-src*/openssl/
|
||||||
|
%clear_dir vendor/capstone-sys-*/capstone/
|
||||||
|
|
||||||
%if %without bundled_libgit2
|
%if %without bundled_libgit2
|
||||||
%clear_dir vendor/libgit2-sys*/libgit2/
|
%clear_dir vendor/libgit2-sys*/libgit2/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %without bundled_oniguruma
|
|
||||||
%clear_dir vendor/onig_sys*/oniguruma/
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %without bundled_sqlite3
|
%if %without bundled_sqlite3
|
||||||
%clear_dir vendor/libsqlite3-sys*/sqlite3/
|
%clear_dir vendor/libsqlite3-sys*/sqlite3/
|
||||||
%endif
|
%endif
|
||||||
@ -772,12 +804,11 @@ end}
|
|||||||
%global rust_env %{shrink:
|
%global rust_env %{shrink:
|
||||||
%{?rustflags:RUSTFLAGS="%{rustflags}"}
|
%{?rustflags:RUSTFLAGS="%{rustflags}"}
|
||||||
%{rustc_target_cpus}
|
%{rustc_target_cpus}
|
||||||
%{!?with_bundled_oniguruma:RUSTONIG_SYSTEM_LIBONIG=1}
|
|
||||||
%{!?with_bundled_sqlite3:LIBSQLITE3_SYS_USE_PKG_CONFIG=1}
|
%{!?with_bundled_sqlite3:LIBSQLITE3_SYS_USE_PKG_CONFIG=1}
|
||||||
%{!?with_disabled_libssh2:LIBSSH2_SYS_USE_PKG_CONFIG=1}
|
%{!?with_disabled_libssh2:LIBSSH2_SYS_USE_PKG_CONFIG=1}
|
||||||
%{?llvm_path:PATH="%{llvm_path}:$PATH"}
|
%{?llvm_path:PATH="%{llvm_path}:$PATH"}
|
||||||
}
|
}
|
||||||
%global export_rust_env export %{rust_env} ; source /opt/rh/gcc-toolset-14/enable
|
%global export_rust_env export %{rust_env}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{export_rust_env}
|
%{export_rust_env}
|
||||||
@ -818,10 +849,19 @@ end}
|
|||||||
|
|
||||||
%if %defined wasm_targets
|
%if %defined wasm_targets
|
||||||
%if %with bundled_wasi_libc
|
%if %with bundled_wasi_libc
|
||||||
%define wasi_libc_flags MALLOC_IMPL=emmalloc CC=clang AR=llvm-ar NM=llvm-nm
|
# Note that we don't want host CFLAGS here!
|
||||||
%make_build --quiet -C %{wasi_libc_dir} %{wasi_libc_flags} TARGET_TRIPLE=wasm32-wasip1
|
env -u CFLAGS %__cmake \
|
||||||
|
-S "%{wasi_libc_dir}" \
|
||||||
|
-B "%{wasi_libc_dir}/%{__cmake_builddir}" \
|
||||||
|
-DCMAKE_C_COMPILER=clang \
|
||||||
|
-DCMAKE_C_FLAGS_RELEASE="-O2 -fstack-protector" \
|
||||||
|
-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY \
|
||||||
|
-DBUILD_SHARED=OFF \
|
||||||
|
-DMALLOC=emmalloc \
|
||||||
|
-DTARGET_TRIPLE=wasm32-wasip1
|
||||||
|
%__cmake --build "%{wasi_libc_dir}/%{__cmake_builddir}" %{?_smp_mflags}
|
||||||
%define wasm_target_config %{shrink:
|
%define wasm_target_config %{shrink:
|
||||||
--set target.wasm32-wasip1.wasi-root=%{wasi_libc_dir}/sysroot
|
--set target.wasm32-wasip1.wasi-root=%{wasi_libc_dir}/%{__cmake_builddir}/sysroot
|
||||||
}
|
}
|
||||||
%else
|
%else
|
||||||
%define wasm_target_config %{shrink:
|
%define wasm_target_config %{shrink:
|
||||||
@ -836,14 +876,8 @@ end}
|
|||||||
%define profiler %{clang_lib}/%{_arch}-redhat-linux-gnu/libclang_rt.profile.a
|
%define profiler %{clang_lib}/%{_arch}-redhat-linux-gnu/libclang_rt.profile.a
|
||||||
test -r "%{profiler}"
|
test -r "%{profiler}"
|
||||||
|
|
||||||
# llvm < 21 does not provide a builtins library for s390x.
|
|
||||||
%if "%{_arch}" != "s390x" || 0%{?clang_major_version} >= 21
|
|
||||||
%define optimized_builtins %{clang_lib}/%{_arch}-redhat-linux-gnu/libclang_rt.builtins.a
|
%define optimized_builtins %{clang_lib}/%{_arch}-redhat-linux-gnu/libclang_rt.builtins.a
|
||||||
test -r "%{optimized_builtins}"
|
test -r "%{optimized_builtins}"
|
||||||
%else
|
|
||||||
%define optimized_builtins false
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%configure --disable-option-checking \
|
%configure --disable-option-checking \
|
||||||
--docdir=%{_pkgdocdir} \
|
--docdir=%{_pkgdocdir} \
|
||||||
@ -877,6 +911,7 @@ test -r "%{optimized_builtins}"
|
|||||||
--set build.optimized-compiler-builtins=false \
|
--set build.optimized-compiler-builtins=false \
|
||||||
--set rust.llvm-tools=false \
|
--set rust.llvm-tools=false \
|
||||||
--set rust.verify-llvm-ir=true \
|
--set rust.verify-llvm-ir=true \
|
||||||
|
--set rust.remap-debuginfo=false \
|
||||||
--enable-extended \
|
--enable-extended \
|
||||||
--tools=cargo,clippy,rust-analyzer,rustdoc,rustfmt,src \
|
--tools=cargo,clippy,rust-analyzer,rustdoc,rustfmt,src \
|
||||||
--enable-vendor \
|
--enable-vendor \
|
||||||
@ -1005,8 +1040,9 @@ rm -f %{buildroot}%{rustlibdir}/%{rust_triple}/bin/rust-ll*
|
|||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
# This allows users to build packages using Rust Toolset.
|
# This allows users to build packages using Rust Toolset.
|
||||||
%{__install} -D -m 644 %{S:100} %{buildroot}%{rpmmacrodir}/macros.rust-toolset
|
%{__install} -D -m 644 %{S:100} %{buildroot}%{rpmmacrodir}/macros.rust-toolset
|
||||||
%{__install} -D -m 644 %{S:101} %{buildroot}%{_fileattrsdir}/cargo_vendor.attr
|
%{__install} -D -m 644 %{S:101} %{buildroot}%{rpmmacrodir}/macros.rust-srpm
|
||||||
%{__install} -D -m 755 %{S:102} %{buildroot}%{_rpmconfigdir}/cargo_vendor.prov
|
%{__install} -D -m 644 %{S:102} %{buildroot}%{_fileattrsdir}/cargo_vendor.attr
|
||||||
|
%{__install} -D -m 755 %{S:103} %{buildroot}%{_rpmconfigdir}/cargo_vendor.prov
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -1044,7 +1080,7 @@ rm -rf "$TMP_HELLO"
|
|||||||
# - Crashes are excluded because they are less reliable, especially stuff like
|
# - Crashes are excluded because they are less reliable, especially stuff like
|
||||||
# SIGSEGV across different arches -- UB can do all kinds of weird things.
|
# SIGSEGV across different arches -- UB can do all kinds of weird things.
|
||||||
# They're only meant to notice "accidental" fixes anyway, not *should* crash.
|
# They're only meant to notice "accidental" fixes anyway, not *should* crash.
|
||||||
timeout -v 90m %{__x} test --no-fail-fast --skip={src/bootstrap,tests/crashes} || :
|
%{__x} test --no-fail-fast --skip={src/bootstrap,tests/crashes} || :
|
||||||
rm -rf "./build/%{rust_triple}/test/"
|
rm -rf "./build/%{rust_triple}/test/"
|
||||||
|
|
||||||
# Cargo tests skip list
|
# Cargo tests skip list
|
||||||
@ -1056,6 +1092,10 @@ rm -rf "./build/%{rust_triple}/test/"
|
|||||||
# We test this after packaging
|
# We test this after packaging
|
||||||
%global cargo_test_skip_list net_err_suggests_fetch_with_cli
|
%global cargo_test_skip_list net_err_suggests_fetch_with_cli
|
||||||
|
|
||||||
|
# Requires access to index.crates.io but neither Fedora nor CentOS/RHEL builders
|
||||||
|
# have DNS resolution, so the test will always fail.
|
||||||
|
%global cargo_test_skip_list %{cargo_test_skip_list} publish_to_crates_io_warns
|
||||||
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
# https://github.com/rust-lang/rust/issues/123733
|
# https://github.com/rust-lang/rust/issues/123733
|
||||||
%global cargo_test_skip_list %{cargo_test_skip_list} panic_abort_doc_tests
|
%global cargo_test_skip_list %{cargo_test_skip_list} panic_abort_doc_tests
|
||||||
@ -1071,14 +1111,14 @@ rm -rf "./build/%{rust_triple}/test/"
|
|||||||
%if "%{cargo_test_skip_list}" != ""
|
%if "%{cargo_test_skip_list}" != ""
|
||||||
%define cargo_test_skip --test-args "%(printf -- '--skip %%s ' %{cargo_test_skip_list})"
|
%define cargo_test_skip --test-args "%(printf -- '--skip %%s ' %{cargo_test_skip_list})"
|
||||||
%endif
|
%endif
|
||||||
timeout -v 30m %{__x} test --no-fail-fast cargo %{?cargo_test_skip} || :
|
%{__x} test --no-fail-fast cargo %{?cargo_test_skip} || :
|
||||||
rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
||||||
|
|
||||||
timeout -v 30m %{__x} test --no-fail-fast clippy || :
|
%{__x} test --no-fail-fast clippy || :
|
||||||
|
|
||||||
timeout -v 30m %{__x} test --no-fail-fast rust-analyzer || :
|
%{__x} test --no-fail-fast rust-analyzer || :
|
||||||
|
|
||||||
timeout -v 30m %{__x} test --no-fail-fast rustfmt || :
|
%{__x} test --no-fail-fast rustfmt || :
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
@ -1103,16 +1143,18 @@ timeout -v 30m %{__x} test --no-fail-fast rustfmt || :
|
|||||||
%dir %{rustlibdir}/%{rust_triple}
|
%dir %{rustlibdir}/%{rust_triple}
|
||||||
%dir %{rustlibdir}/%{rust_triple}/lib
|
%dir %{rustlibdir}/%{rust_triple}/lib
|
||||||
%{rustlibdir}/%{rust_triple}/lib/*.rlib
|
%{rustlibdir}/%{rust_triple}/lib/*.rlib
|
||||||
|
%{rustlibdir}/%{rust_triple}/lib/*.rmeta
|
||||||
%{rustlibdir}/%{rust_triple}/lib/*.so
|
%{rustlibdir}/%{rust_triple}/lib/*.so
|
||||||
%license build/manifests/std/cargo-vendor.txt
|
%license build/manifests/std/cargo-vendor.txt
|
||||||
%license %{_pkgdocdir}/COPYRIGHT-library.html
|
%license %{_pkgdocdir}/COPYRIGHT-library.html
|
||||||
|
|
||||||
%global target_files() \
|
%global target_files() \
|
||||||
%files std-static-%1 \
|
%files std-static-%1 \
|
||||||
%dir %{rustlibdir} \
|
%dir %{rustlibdir} \
|
||||||
%dir %{rustlibdir}/%1 \
|
%dir %{rustlibdir}/%1 \
|
||||||
%dir %{rustlibdir}/%1/lib \
|
%dir %{rustlibdir}/%1/lib \
|
||||||
%{rustlibdir}/%1/lib/*.rlib \
|
%{rustlibdir}/%1/lib/*.rlib \
|
||||||
|
%{rustlibdir}/%1/lib/*.rmeta \
|
||||||
%license build/manifests/std-%1/cargo-vendor.txt
|
%license build/manifests/std-%1/cargo-vendor.txt
|
||||||
|
|
||||||
%if %target_enabled i686-pc-windows-gnu
|
%if %target_enabled i686-pc-windows-gnu
|
||||||
@ -1227,6 +1269,9 @@ timeout -v 30m %{__x} test --no-fail-fast rustfmt || :
|
|||||||
|
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
|
%files toolset-srpm-macros
|
||||||
|
%{rpmmacrodir}/macros.rust-srpm
|
||||||
|
|
||||||
%files toolset
|
%files toolset
|
||||||
%{rpmmacrodir}/macros.rust-toolset
|
%{rpmmacrodir}/macros.rust-toolset
|
||||||
%{_fileattrsdir}/cargo_vendor.attr
|
%{_fileattrsdir}/cargo_vendor.attr
|
||||||
@ -1235,333 +1280,4 @@ timeout -v 30m %{__x} test --no-fail-fast rustfmt || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 07 2026 Josh Stone <jistone@redhat.com> - 1.92.0-1
|
%autochangelog
|
||||||
- Update to 1.92.0
|
|
||||||
|
|
||||||
* Fri Nov 07 2025 Josh Stone <jistone@redhat.com> - 1.91.0-1
|
|
||||||
- Update to 1.91.0
|
|
||||||
|
|
||||||
* Fri Nov 07 2025 Josh Stone <jistone@redhat.com> - 1.90.0-1
|
|
||||||
- Update to 1.90.0
|
|
||||||
|
|
||||||
* Thu Nov 06 2025 Josh Stone <jistone@redhat.com> - 1.89.0-1
|
|
||||||
- Update to 1.89.0
|
|
||||||
|
|
||||||
* Fri Jul 11 2025 Josh Stone <jistone@redhat.com> - 1.88.0-1
|
|
||||||
- Update to 1.88.0
|
|
||||||
|
|
||||||
* Thu May 29 2025 Josh Stone <jistone@redhat.com> - 1.87.0-1
|
|
||||||
- Update to 1.87.0
|
|
||||||
|
|
||||||
* Wed Apr 30 2025 Josh Stone <jistone@redhat.com> - 1.86.0-1
|
|
||||||
- Update to 1.86.0
|
|
||||||
|
|
||||||
* Tue Apr 29 2025 Josh Stone <jistone@redhat.com> - 1.85.0-1
|
|
||||||
- Update to 1.85.0
|
|
||||||
|
|
||||||
* Tue Feb 04 2025 Josh Stone <jistone@redhat.com> - 1.84.1-1
|
|
||||||
- Update to 1.84.1
|
|
||||||
|
|
||||||
* Wed Jan 15 2025 Josh Stone <jistone@redhat.com> - 1.84.0-1
|
|
||||||
- Update to 1.84.0
|
|
||||||
|
|
||||||
* Thu Dec 05 2024 Josh Stone <jistone@redhat.com> - 1.83.0-1
|
|
||||||
- Update to 1.83.0
|
|
||||||
- Remove the subshell in the cargo_install macro
|
|
||||||
|
|
||||||
* Tue Nov 05 2024 Josh Stone <jistone@redhat.com> - 1.82.0-1
|
|
||||||
- Update to 1.82.0
|
|
||||||
|
|
||||||
* Fri Oct 25 2024 Josh Stone <jistone@redhat.com> - 1.81.0-1
|
|
||||||
- Update to 1.81.0
|
|
||||||
|
|
||||||
* Tue Oct 22 2024 Josh Stone <jistone@redhat.com> - 1.80.1-1
|
|
||||||
- Update to 1.80.1
|
|
||||||
|
|
||||||
* Tue Aug 13 2024 Josh Stone <jistone@redhat.com> - 1.79.0-2
|
|
||||||
- Disable jump threading of float equality
|
|
||||||
|
|
||||||
* Fri Jun 21 2024 Josh Stone <jistone@redhat.com> - 1.79.0-1
|
|
||||||
- Update to 1.79.0
|
|
||||||
|
|
||||||
* Fri Jun 21 2024 Josh Stone <jistone@redhat.com> - 1.78.0-1
|
|
||||||
- Update to 1.78.0
|
|
||||||
- Make std-static-wasm* noarch again
|
|
||||||
|
|
||||||
* Thu May 09 2024 Josh Stone <jistone@redhat.com> - 1.77.2-1
|
|
||||||
- Update to 1.77.2.
|
|
||||||
|
|
||||||
* Wed Apr 17 2024 Josh Stone <jistone@redhat.com> - 1.76.0-1
|
|
||||||
- Update to 1.76.0.
|
|
||||||
- Sync rust-toolset macros to rust-packaging v25.2
|
|
||||||
|
|
||||||
* Fri Jan 05 2024 Josh Stone <jistone@redhat.com> - 1.75.0-1
|
|
||||||
- Update to 1.75.0.
|
|
||||||
|
|
||||||
* Wed Jan 03 2024 Josh Stone <jistone@redhat.com> - 1.74.1-1
|
|
||||||
- Update to 1.74.1.
|
|
||||||
|
|
||||||
* Tue Oct 17 2023 Josh Stone <jistone@redhat.com> - 1.73.0-1
|
|
||||||
- Update to 1.73.0.
|
|
||||||
- Use emmalloc instead of CC0 dlmalloc when bundling wasi-libc
|
|
||||||
|
|
||||||
* Thu Oct 12 2023 Josh Stone <jistone@redhat.com> - 1.72.1-1
|
|
||||||
- Update to 1.72.1.
|
|
||||||
- Migrated to SPDX license
|
|
||||||
|
|
||||||
* Tue Aug 08 2023 Josh Stone <jistone@redhat.com> - 1.71.1-1
|
|
||||||
- Update to 1.71.1.
|
|
||||||
- Security fix for CVE-2023-38497
|
|
||||||
|
|
||||||
* Wed Jul 26 2023 Josh Stone <jistone@redhat.com> - 1.71.0-2
|
|
||||||
- Relax the suspicious_double_ref_op lint (rhbz2225471)
|
|
||||||
- Enable the profiler runtime for native hosts (rhbz2213875)
|
|
||||||
|
|
||||||
* Thu Jul 20 2023 Josh Stone <jistone@redhat.com> - 1.71.0-1
|
|
||||||
- Update to 1.71.0.
|
|
||||||
|
|
||||||
* Tue Jul 18 2023 Josh Stone <jistone@redhat.com> - 1.70.0-1
|
|
||||||
- Update to 1.70.0.
|
|
||||||
|
|
||||||
* Fri May 26 2023 Josh Stone <jistone@redhat.com> - 1.69.0-1
|
|
||||||
- Update to 1.69.0.
|
|
||||||
- Obsolete rust-analysis.
|
|
||||||
|
|
||||||
* Fri May 19 2023 Josh Stone <jistone@redhat.com> - 1.68.2-1
|
|
||||||
- Update to 1.68.2.
|
|
||||||
|
|
||||||
* Thu May 18 2023 Josh Stone <jistone@redhat.com> - 1.67.1-1
|
|
||||||
- Update to 1.67.1.
|
|
||||||
|
|
||||||
* Wed Jan 11 2023 Josh Stone <jistone@redhat.com> - 1.66.1-1
|
|
||||||
- Update to 1.66.1.
|
|
||||||
|
|
||||||
* Fri Jan 06 2023 Josh Stone <jistone@redhat.com> - 1.65.0-1
|
|
||||||
- Update to 1.65.0.
|
|
||||||
- rust-analyzer now obsoletes rls.
|
|
||||||
|
|
||||||
* Thu Sep 22 2022 Josh Stone <jistone@redhat.com> - 1.64.0-1
|
|
||||||
- Update to 1.64.0.
|
|
||||||
- Add rust-analyzer.
|
|
||||||
|
|
||||||
* Wed Sep 07 2022 Josh Stone <jistone@redhat.com> - 1.63.0-1
|
|
||||||
- Update to 1.63.0.
|
|
||||||
|
|
||||||
* Tue Jul 19 2022 Josh Stone <jistone@redhat.com> - 1.62.1-1
|
|
||||||
- Update to 1.62.1.
|
|
||||||
|
|
||||||
* Wed Jul 13 2022 Josh Stone <jistone@redhat.com> - 1.62.0-2
|
|
||||||
- Prevent unsound coercions from functions with opaque return types.
|
|
||||||
|
|
||||||
* Thu Jun 30 2022 Josh Stone <jistone@redhat.com> - 1.62.0-1
|
|
||||||
- Update to 1.62.0.
|
|
||||||
|
|
||||||
* Fri Jun 03 2022 Josh Stone <jistone@redhat.com> - 1.61.0-1
|
|
||||||
- Update to 1.61.0.
|
|
||||||
- Add rust-toolset as a subpackage.
|
|
||||||
|
|
||||||
* Wed Apr 20 2022 Josh Stone <jistone@redhat.com> - 1.60.0-1
|
|
||||||
- Update to 1.60.0.
|
|
||||||
|
|
||||||
* Tue Apr 19 2022 Josh Stone <jistone@redhat.com> - 1.59.0-1
|
|
||||||
- Update to 1.59.0.
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Josh Stone <jistone@redhat.com> - 1.58.1-1
|
|
||||||
- Update to 1.58.1.
|
|
||||||
|
|
||||||
* Thu Jan 13 2022 Josh Stone <jistone@redhat.com> - 1.58.0-1
|
|
||||||
- Update to 1.58.0.
|
|
||||||
|
|
||||||
* Wed Dec 15 2021 Josh Stone <jistone@redhat.com> - 1.57.0-1
|
|
||||||
- Update to 1.57.0.
|
|
||||||
|
|
||||||
* Thu Dec 02 2021 Josh Stone <jistone@redhat.com> - 1.56.1-2
|
|
||||||
- Add rust-std-static-wasm32-wasi
|
|
||||||
Resolves: rhbz#1980080
|
|
||||||
|
|
||||||
* Tue Nov 02 2021 Josh Stone <jistone@redhat.com> - 1.56.0-1
|
|
||||||
- Update to 1.56.1.
|
|
||||||
|
|
||||||
* Fri Oct 29 2021 Josh Stone <jistone@redhat.com> - 1.55.0-1
|
|
||||||
- Update to 1.55.0.
|
|
||||||
- Backport support for LLVM 13.
|
|
||||||
|
|
||||||
* Tue Aug 17 2021 Josh Stone <jistone@redhat.com> - 1.54.0-2
|
|
||||||
- Make std-static-wasm* arch-specific to avoid s390x.
|
|
||||||
|
|
||||||
* Thu Jul 29 2021 Josh Stone <jistone@redhat.com> - 1.54.0-1
|
|
||||||
- Update to 1.54.0.
|
|
||||||
|
|
||||||
* Tue Jul 20 2021 Josh Stone <jistone@redhat.com> - 1.53.0-2
|
|
||||||
- Use llvm-ranlib to fix wasm archives.
|
|
||||||
|
|
||||||
* Mon Jun 21 2021 Josh Stone <jistone@redhat.com> - 1.53.0-1
|
|
||||||
- Update to 1.53.0.
|
|
||||||
|
|
||||||
* Tue Jun 15 2021 Josh Stone <jistone@redhat.com> - 1.52.1-2
|
|
||||||
- Set rust.codegen-units-std=1 for all targets again.
|
|
||||||
- Add rust-std-static-wasm32-unknown-unknown.
|
|
||||||
|
|
||||||
* Tue May 25 2021 Josh Stone <jistone@redhat.com> - 1.52.1-1
|
|
||||||
- Update to 1.52.1. Includes security fixes for CVE-2020-36323,
|
|
||||||
CVE-2021-28876, CVE-2021-28878, CVE-2021-28879, and CVE-2021-31162.
|
|
||||||
|
|
||||||
* Mon May 24 2021 Josh Stone <jistone@redhat.com> - 1.51.0-1
|
|
||||||
- Update to 1.51.0. Update to 1.51.0. Includes security fixes for
|
|
||||||
CVE-2021-28875 and CVE-2021-28877.
|
|
||||||
|
|
||||||
* Mon May 24 2021 Josh Stone <jistone@redhat.com> - 1.50.0-1
|
|
||||||
- Update to 1.50.0.
|
|
||||||
|
|
||||||
* Wed Jan 13 2021 Josh Stone <jistone@redhat.com> - 1.49.0-1
|
|
||||||
- Update to 1.49.0.
|
|
||||||
|
|
||||||
* Tue Jan 12 2021 Josh Stone <jistone@redhat.com> - 1.48.0-1
|
|
||||||
- Update to 1.48.0.
|
|
||||||
|
|
||||||
* Thu Oct 22 2020 Josh Stone <jistone@redhat.com> - 1.47.0-1
|
|
||||||
- Update to 1.47.0.
|
|
||||||
|
|
||||||
* Wed Oct 14 2020 Josh Stone <jistone@redhat.com> - 1.46.0-1
|
|
||||||
- Update to 1.46.0.
|
|
||||||
|
|
||||||
* Tue Aug 04 2020 Josh Stone <jistone@redhat.com> - 1.45.2-1
|
|
||||||
- Update to 1.45.2.
|
|
||||||
|
|
||||||
* Thu Jul 16 2020 Josh Stone <jistone@redhat.com> - 1.45.0-1
|
|
||||||
- Update to 1.45.0.
|
|
||||||
|
|
||||||
* Tue Jul 14 2020 Josh Stone <jistone@redhat.com> - 1.44.1-1
|
|
||||||
- Update to 1.44.1.
|
|
||||||
|
|
||||||
* Thu May 07 2020 Josh Stone <jistone@redhat.com> - 1.43.1-1
|
|
||||||
- Update to 1.43.1.
|
|
||||||
|
|
||||||
* Thu Apr 23 2020 Josh Stone <jistone@redhat.com> - 1.43.0-1
|
|
||||||
- Update to 1.43.0.
|
|
||||||
|
|
||||||
* Thu Mar 12 2020 Josh Stone <jistone@redhat.com> - 1.42.0-1
|
|
||||||
- Update to 1.42.0.
|
|
||||||
|
|
||||||
* Thu Feb 27 2020 Josh Stone <jistone@redhat.com> - 1.41.1-1
|
|
||||||
- Update to 1.41.1.
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Josh Stone <jistone@redhat.com> - 1.41.0-1
|
|
||||||
- Update to 1.41.0.
|
|
||||||
|
|
||||||
* Thu Jan 16 2020 Josh Stone <jistone@redhat.com> - 1.40.0-1
|
|
||||||
- Update to 1.40.0.
|
|
||||||
- Fix compiletest with newer (local-rebuild) libtest
|
|
||||||
- Build compiletest with in-tree libtest
|
|
||||||
- Fix ARM EHABI unwinding
|
|
||||||
|
|
||||||
* Tue Nov 12 2019 Josh Stone <jistone@redhat.com> - 1.39.0-2
|
|
||||||
- Fix a couple build and test issues with rustdoc.
|
|
||||||
|
|
||||||
* Thu Nov 07 2019 Josh Stone <jistone@redhat.com> - 1.39.0-1
|
|
||||||
- Update to 1.39.0.
|
|
||||||
|
|
||||||
* Thu Sep 26 2019 Josh Stone <jistone@redhat.com> - 1.38.0-1
|
|
||||||
- Update to 1.38.0.
|
|
||||||
|
|
||||||
* Thu Aug 15 2019 Josh Stone <jistone@redhat.com> - 1.37.0-1
|
|
||||||
- Update to 1.37.0.
|
|
||||||
- Disable libssh2 (git+ssh support).
|
|
||||||
|
|
||||||
* Thu Jul 04 2019 Josh Stone <jistone@redhat.com> - 1.36.0-1
|
|
||||||
- Update to 1.36.0.
|
|
||||||
|
|
||||||
* Wed May 29 2019 Josh Stone <jistone@redhat.com> - 1.35.0-2
|
|
||||||
- Fix compiletest for rebuild testing.
|
|
||||||
|
|
||||||
* Thu May 23 2019 Josh Stone <jistone@redhat.com> - 1.35.0-1
|
|
||||||
- Update to 1.35.0.
|
|
||||||
|
|
||||||
* Tue May 14 2019 Josh Stone <jistone@redhat.com> - 1.34.2-1
|
|
||||||
- Update to 1.34.2 -- fixes CVE-2019-12083.
|
|
||||||
|
|
||||||
* Thu May 09 2019 Josh Stone <jistone@redhat.com> - 1.34.1-1
|
|
||||||
- Update to 1.34.1.
|
|
||||||
|
|
||||||
* Thu Apr 11 2019 Josh Stone <jistone@redhat.com> - 1.34.0-1
|
|
||||||
- Update to 1.34.0.
|
|
||||||
|
|
||||||
* Wed Apr 10 2019 Josh Stone <jistone@redhat.com> - 1.33.0-1
|
|
||||||
- Update to 1.33.0.
|
|
||||||
|
|
||||||
* Tue Apr 09 2019 Josh Stone <jistone@redhat.com> - 1.32.0-1
|
|
||||||
- Update to 1.32.0.
|
|
||||||
|
|
||||||
* Fri Dec 14 2018 Josh Stone <jistone@redhat.com> - 1.31.0-5
|
|
||||||
- Restore rust-lldb.
|
|
||||||
|
|
||||||
* Thu Dec 13 2018 Josh Stone <jistone@redhat.com> - 1.31.0-4
|
|
||||||
- Backport fixes for rls.
|
|
||||||
|
|
||||||
* Thu Dec 13 2018 Josh Stone <jistone@redhat.com> - 1.31.0-3
|
|
||||||
- Update to 1.31.0 -- Rust 2018!
|
|
||||||
- clippy/rls/rustfmt are no longer -preview
|
|
||||||
|
|
||||||
* Wed Dec 12 2018 Josh Stone <jistone@redhat.com> - 1.30.1-2
|
|
||||||
- Update to 1.30.1.
|
|
||||||
|
|
||||||
* Tue Nov 06 2018 Josh Stone <jistone@redhat.com> - 1.29.2-1
|
|
||||||
- Update to 1.29.2.
|
|
||||||
|
|
||||||
* Thu Nov 01 2018 Josh Stone <jistone@redhat.com> - 1.28.0-1
|
|
||||||
- Update to 1.28.0.
|
|
||||||
|
|
||||||
* Thu Nov 01 2018 Josh Stone <jistone@redhat.com> - 1.27.2-1
|
|
||||||
- Update to 1.27.2.
|
|
||||||
|
|
||||||
* Wed Oct 10 2018 Josh Stone <jistone@redhat.com> - 1.26.2-12
|
|
||||||
- Fix "fp" target feature for AArch64 (#1632880)
|
|
||||||
|
|
||||||
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 1.26.2-11
|
|
||||||
- Security fix for str::repeat (pending CVE).
|
|
||||||
|
|
||||||
* Fri Oct 05 2018 Josh Stone <jistone@redhat.com> - 1.26.2-10
|
|
||||||
- Rebuild without bootstrap binaries.
|
|
||||||
|
|
||||||
* Thu Oct 04 2018 Josh Stone <jistone@redhat.com> - 1.26.2-9
|
|
||||||
- Bootstrap without SCL packaging. (rhbz1635067)
|
|
||||||
|
|
||||||
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 1.26.2-8
|
|
||||||
- Use python3 prefix for lldb Requires
|
|
||||||
|
|
||||||
* Mon Aug 13 2018 Josh Stone <jistone@redhat.com> - 1.26.2-7
|
|
||||||
- Build with platform-python
|
|
||||||
|
|
||||||
* Tue Aug 07 2018 Josh Stone <jistone@redhat.com> - 1.26.2-6
|
|
||||||
- Exclude rust-src from auto-requires
|
|
||||||
|
|
||||||
* Thu Aug 02 2018 Josh Stone <jistone@redhat.com> - 1.26.2-5
|
|
||||||
- Rebuild without bootstrap binaries.
|
|
||||||
|
|
||||||
* Tue Jul 31 2018 Josh Stone <jistone@redhat.com> - 1.26.2-4
|
|
||||||
- Bootstrap as a module.
|
|
||||||
|
|
||||||
* Mon Jun 04 2018 Josh Stone <jistone@redhat.com> - 1.26.2-3
|
|
||||||
- Update to 1.26.2.
|
|
||||||
|
|
||||||
* Wed May 30 2018 Josh Stone <jistone@redhat.com> - 1.26.1-2
|
|
||||||
- Update to 1.26.1.
|
|
||||||
|
|
||||||
* Fri May 18 2018 Josh Stone <jistone@redhat.com> - 1.26.0-1
|
|
||||||
- Update to 1.26.0.
|
|
||||||
|
|
||||||
* Tue Apr 10 2018 Josh Stone <jistone@redhat.com> - 1.25.0-2
|
|
||||||
- Filter codegen-backends from Provides too.
|
|
||||||
|
|
||||||
* Tue Apr 03 2018 Josh Stone <jistone@redhat.com> - 1.25.0-1
|
|
||||||
- Update to 1.25.0.
|
|
||||||
- Add rustfmt-preview as a subpackage.
|
|
||||||
|
|
||||||
* Thu Feb 22 2018 Josh Stone <jistone@redhat.com> - 1.24.0-1
|
|
||||||
- Update to 1.24.0.
|
|
||||||
|
|
||||||
* Tue Jan 16 2018 Josh Stone <jistone@redhat.com> - 1.23.0-2
|
|
||||||
- Rebuild without bootstrap binaries.
|
|
||||||
|
|
||||||
* Mon Jan 15 2018 Josh Stone <jistone@redhat.com> - 1.23.0-1
|
|
||||||
- Bootstrap 1.23 on el8.
|
|
||||||
44
rustc-1.96.0-disable-libssh2.patch
Normal file
44
rustc-1.96.0-disable-libssh2.patch
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
diff -up rustc-beta-src/src/tools/cargo/Cargo.lock.orig rustc-beta-src/src/tools/cargo/Cargo.lock
|
||||||
|
--- rustc-beta-src/src/tools/cargo/Cargo.lock.orig 2026-04-23 13:22:07.239952036 -0700
|
||||||
|
+++ rustc-beta-src/src/tools/cargo/Cargo.lock 2026-04-23 13:23:43.576653041 -0700
|
||||||
|
@@ -3108,7 +3108,6 @@ checksum = "c9b3acc4b91781bb0b3386669d32
|
||||||
|
dependencies = [
|
||||||
|
"cc",
|
||||||
|
"libc",
|
||||||
|
- "libssh2-sys",
|
||||||
|
"libz-sys",
|
||||||
|
"openssl-sys",
|
||||||
|
"pkg-config",
|
||||||
|
@@ -3155,20 +3154,6 @@ dependencies = [
|
||||||
|
"pkg-config",
|
||||||
|
"vcpkg",
|
||||||
|
]
|
||||||
|
-
|
||||||
|
-[[package]]
|
||||||
|
-name = "libssh2-sys"
|
||||||
|
-version = "0.3.1"
|
||||||
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
-checksum = "220e4f05ad4a218192533b300327f5150e809b54c4ec83b5a1d91833601811b9"
|
||||||
|
-dependencies = [
|
||||||
|
- "cc",
|
||||||
|
- "libc",
|
||||||
|
- "libz-sys",
|
||||||
|
- "openssl-sys",
|
||||||
|
- "pkg-config",
|
||||||
|
- "vcpkg",
|
||||||
|
-]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "libz-sys"
|
||||||
|
diff -up rustc-beta-src/src/tools/cargo/Cargo.toml.orig rustc-beta-src/src/tools/cargo/Cargo.toml
|
||||||
|
--- rustc-beta-src/src/tools/cargo/Cargo.toml.orig 2026-04-23 13:22:07.240372063 -0700
|
||||||
|
+++ rustc-beta-src/src/tools/cargo/Cargo.toml 2026-04-23 13:23:37.142696088 -0700
|
||||||
|
@@ -51,7 +51,7 @@ filetime = "0.2.27"
|
||||||
|
flate2 = { version = "1.1.9", default-features = false, features = ["zlib-rs"] }
|
||||||
|
futures = { version = "0.3.32", default-features = false, features = ["std", "executor"]}
|
||||||
|
futures-timer = "3.0.3"
|
||||||
|
-git2 = "0.20.4"
|
||||||
|
+git2 = { version = "0.20.4", default-features = false, features = ["https"] }
|
||||||
|
git2-curl = "0.21.0"
|
||||||
|
# When updating this, also see if `gix-transport` further down needs updating or some auth-related tests will fail.
|
||||||
|
gix = { version = "0.81.0", default-features = false, features = ["sha1", "progress-tree", "parallel", "dirwalk", "status"] }
|
||||||
23
rustc-1.96.0-unbundle-sqlite.patch
Normal file
23
rustc-1.96.0-unbundle-sqlite.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
diff -up rustc-beta-src/src/tools/cargo/Cargo.lock.orig rustc-beta-src/src/tools/cargo/Cargo.lock
|
||||||
|
--- rustc-beta-src/src/tools/cargo/Cargo.lock.orig 2026-04-19 23:11:26.000000000 -0700
|
||||||
|
+++ rustc-beta-src/src/tools/cargo/Cargo.lock 2026-04-23 13:19:24.942383499 -0700
|
||||||
|
@@ -3152,7 +3152,6 @@ version = "0.37.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "b1f111c8c41e7c61a49cd34e44c7619462967221a6443b0ec299e0ac30cfb9b1"
|
||||||
|
dependencies = [
|
||||||
|
- "cc",
|
||||||
|
"pkg-config",
|
||||||
|
"vcpkg",
|
||||||
|
]
|
||||||
|
diff -up rustc-beta-src/src/tools/cargo/Cargo.toml.orig rustc-beta-src/src/tools/cargo/Cargo.toml
|
||||||
|
--- rustc-beta-src/src/tools/cargo/Cargo.toml.orig 2026-04-19 23:11:26.000000000 -0700
|
||||||
|
+++ rustc-beta-src/src/tools/cargo/Cargo.toml 2026-04-23 13:19:13.141462455 -0700
|
||||||
|
@@ -89,7 +89,7 @@ proptest = "1.11.0"
|
||||||
|
pulldown-cmark = { version = "0.13.3", default-features = false, features = ["html"] }
|
||||||
|
rand = "0.10.0"
|
||||||
|
regex = "1.12.3"
|
||||||
|
-rusqlite = { version = "0.39.0", features = ["bundled"] }
|
||||||
|
+rusqlite = { version = "0.39.0", features = [] }
|
||||||
|
rustc-hash = "2.1.2"
|
||||||
|
rustc-stable-hash = "0.1.2"
|
||||||
|
rustfix = { version = "0.9.6", path = "crates/rustfix" }
|
||||||
3
sources
Normal file
3
sources
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SHA512 (rustc-1.96.0-src.tar.xz) = 4f93df2c8ab5f4c7eb374b96a2dc4be4b134fbe8cf3db777118bd1aad12d3bb0b382c26864fa5d7d7959384701259edc7794a885d710565a91491bbaa337f789
|
||||||
|
SHA512 (rustc-1.96.0-src.tar.xz.asc) = dc655238ea83bcf7c390c398dfce3925b0d13febbbe6a9a15f5f55ba51cbcb22c0e390fc63aadd9173930b9eaee94d2bb607c19f472efdf07b58cafe63376419
|
||||||
|
SHA512 (wasi-libc-wasi-sdk-32.tar.gz) = 5a07d2d21789c7ad8669d87a33bd0d397b2c64ebb11de81ee3c1c027754a9a88e06c524526b4b7170fa4dfd7e1bfec0a5f58757103a6fe1a8ab136abc7e8a190
|
||||||
63
tests/Sanity/basic-smoke/Makefile
Normal file
63
tests/Sanity/basic-smoke/Makefile
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Makefile of /tools/rust/Sanity/basic-smoke
|
||||||
|
# Description: basic-smoke
|
||||||
|
# Author: Martin Cermak <mcermak@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
export TEST=/tools/rust/Sanity/basic-smoke
|
||||||
|
export TESTVERSION=1.0
|
||||||
|
|
||||||
|
BUILT_FILES=
|
||||||
|
|
||||||
|
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
||||||
|
|
||||||
|
.PHONY: all install download clean
|
||||||
|
|
||||||
|
run: $(FILES) build
|
||||||
|
./runtest.sh
|
||||||
|
|
||||||
|
build: $(BUILT_FILES)
|
||||||
|
test -x runtest.sh || chmod a+x runtest.sh
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ $(BUILT_FILES)
|
||||||
|
|
||||||
|
|
||||||
|
include /usr/share/rhts/lib/rhts-make.include
|
||||||
|
|
||||||
|
$(METADATA): Makefile
|
||||||
|
@echo "Owner: Martin Cermak <mcermak@redhat.com>" > $(METADATA)
|
||||||
|
@echo "Name: $(TEST)" >> $(METADATA)
|
||||||
|
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||||
|
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||||
|
@echo "Description: basic-smoke" >> $(METADATA)
|
||||||
|
@echo "Type: Sanity" >> $(METADATA)
|
||||||
|
@echo "TestTime: 10m" >> $(METADATA)
|
||||||
|
@echo "RunFor: rust" >> $(METADATA)
|
||||||
|
@echo "Requires: rust" >> $(METADATA)
|
||||||
|
@echo "Priority: Normal" >> $(METADATA)
|
||||||
|
@echo "License: GPLv2+" >> $(METADATA)
|
||||||
|
@echo "Confidential: no" >> $(METADATA)
|
||||||
|
@echo "Destructive: no" >> $(METADATA)
|
||||||
|
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
|
||||||
|
|
||||||
|
rhts-lint $(METADATA)
|
||||||
3
tests/Sanity/basic-smoke/PURPOSE
Normal file
3
tests/Sanity/basic-smoke/PURPOSE
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
PURPOSE of /tools/rust/Sanity/basic-smoke
|
||||||
|
Description: basic-smoke
|
||||||
|
Author: Martin Cermak <mcermak@redhat.com>
|
||||||
13
tests/Sanity/basic-smoke/main.fmf
Normal file
13
tests/Sanity/basic-smoke/main.fmf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
summary: basic-smoke
|
||||||
|
description: ''
|
||||||
|
contact:
|
||||||
|
- Jesus Checa Hidalgo <jcheca@redhat.com>
|
||||||
|
component:
|
||||||
|
- rust
|
||||||
|
test: ./runtest.sh
|
||||||
|
framework: beakerlib
|
||||||
|
recommend:
|
||||||
|
- rust
|
||||||
|
duration: 10m
|
||||||
|
extra-summary: /tools/rust/Sanity/basic-smoke
|
||||||
|
extra-task: /tools/rust/Sanity/basic-smoke
|
||||||
55
tests/Sanity/basic-smoke/runtest.sh
Executable file
55
tests/Sanity/basic-smoke/runtest.sh
Executable file
@ -0,0 +1,55 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# runtest.sh of /tools/rust/Sanity/basic-smoke
|
||||||
|
# Description: basic-smoke
|
||||||
|
# Author: Martin Cermak <mcermak@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
# Include Beaker environment
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
PACKAGE="$(rpm -qf $(which rustc))"
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertRpm $PACKAGE
|
||||||
|
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
|
||||||
|
rlRun "pushd $TmpDir"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
HELLO_SRC=$( mktemp )
|
||||||
|
HELLO_BIN=$( mktemp )
|
||||||
|
echo 'fn main() { println!("hello"); }' > $HELLO_SRC
|
||||||
|
rlRun "which rustc"
|
||||||
|
rlRun "rustc -V"
|
||||||
|
rlRun "rustc -o $HELLO_BIN $HELLO_SRC"
|
||||||
|
rlRun "$HELLO_BIN"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "popd"
|
||||||
|
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalPrintText
|
||||||
|
rlJournalEnd
|
||||||
63
tests/Sanity/build-stratisd/Makefile
Normal file
63
tests/Sanity/build-stratisd/Makefile
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Makefile of /tools/rust/Sanity/build-stratisd
|
||||||
|
# Description: rpmbuild stratisd
|
||||||
|
# Author: Edjunior Machado <emachado@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
export TEST=/tools/rust/Sanity/build-stratisd
|
||||||
|
export TESTVERSION=1.0
|
||||||
|
|
||||||
|
BUILT_FILES=
|
||||||
|
|
||||||
|
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
||||||
|
|
||||||
|
.PHONY: all install download clean
|
||||||
|
|
||||||
|
run: $(FILES) build
|
||||||
|
./runtest.sh
|
||||||
|
|
||||||
|
build: $(BUILT_FILES)
|
||||||
|
test -x runtest.sh || chmod a+x runtest.sh
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ $(BUILT_FILES)
|
||||||
|
|
||||||
|
|
||||||
|
include /usr/share/rhts/lib/rhts-make.include
|
||||||
|
|
||||||
|
$(METADATA): Makefile
|
||||||
|
@echo "Owner: Edjunior Machado <emachado@redhat.com>" > $(METADATA)
|
||||||
|
@echo "Name: $(TEST)" >> $(METADATA)
|
||||||
|
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||||
|
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||||
|
@echo "Description: rpmbuild stratisd" >> $(METADATA)
|
||||||
|
@echo "Type: Sanity" >> $(METADATA)
|
||||||
|
@echo "TestTime: 1h" >> $(METADATA)
|
||||||
|
@echo "RunFor: rust" >> $(METADATA)
|
||||||
|
@echo "Requires: rust rpm-build yum-utils stratisd" >> $(METADATA)
|
||||||
|
@echo "Priority: Normal" >> $(METADATA)
|
||||||
|
@echo "License: GPLv2+" >> $(METADATA)
|
||||||
|
@echo "Confidential: no" >> $(METADATA)
|
||||||
|
@echo "Destructive: no" >> $(METADATA)
|
||||||
|
@echo "Releases: RHEL8 RHEL9" >> $(METADATA)
|
||||||
|
|
||||||
|
rhts-lint $(METADATA)
|
||||||
3
tests/Sanity/build-stratisd/PURPOSE
Normal file
3
tests/Sanity/build-stratisd/PURPOSE
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
PURPOSE of /tools/rust/Sanity/build-stratisd
|
||||||
|
Description: rpmbuild stratisd
|
||||||
|
Author: Edjunior Machado <emachado@redhat.com>
|
||||||
17
tests/Sanity/build-stratisd/main.fmf
Normal file
17
tests/Sanity/build-stratisd/main.fmf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
summary: rpmbuild stratisd
|
||||||
|
description:
|
||||||
|
- 'Ensure that rust does not break stratisd rpmbuild'
|
||||||
|
contact:
|
||||||
|
- Jesus Checa Hidalgo <jcheca@redhat.com>
|
||||||
|
component:
|
||||||
|
- rust
|
||||||
|
test: ./runtest.sh
|
||||||
|
framework: beakerlib
|
||||||
|
recommend:
|
||||||
|
- rust
|
||||||
|
- rpm-build
|
||||||
|
- yum-utils
|
||||||
|
- stratisd
|
||||||
|
duration: 1h
|
||||||
|
extra-summary: /tools/rust/Sanity/build-stratisd
|
||||||
|
extra-task: /tools/rust/Sanity/build-stratisd
|
||||||
65
tests/Sanity/build-stratisd/runtest.sh
Executable file
65
tests/Sanity/build-stratisd/runtest.sh
Executable file
@ -0,0 +1,65 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# runtest.sh of /tools/rust/Sanity/build-stratisd
|
||||||
|
# Description: rpmbuild stratisd
|
||||||
|
# Author: Edjunior Machado <emachado@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
# Include Beaker environment
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
PACKAGE="$(rpm -qf $(which rustc))"
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertRpm $PACKAGE || rlDie "rustc not found. Aborting testcase..."
|
||||||
|
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
|
||||||
|
rlRun "pushd $TmpDir"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
PKG_TO_BUILD=stratisd
|
||||||
|
rlPhaseStart FAIL ${PKG_TO_BUILD}FetchSrcAndInstallBuildDeps
|
||||||
|
if ! rlCheckRpm $PKG_TO_BUILD; then
|
||||||
|
rlRun "yum install -y $PKG_TO_BUILD"
|
||||||
|
rlAssertRpm $PKG_TO_BUILD
|
||||||
|
fi
|
||||||
|
rlFetchSrcForInstalled $PKG_TO_BUILD
|
||||||
|
rlRun SRPM=$(ls -1 ${PKG_TO_BUILD}*src.rpm)
|
||||||
|
rlRun "rpm -ivh $SRPM"
|
||||||
|
rlRun SPECDIR="$(rpm -E '%{_specdir}')"
|
||||||
|
|
||||||
|
rlRun "yum-builddep -y ${SRPM}"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
set -o pipefail
|
||||||
|
rlRun "rpmbuild -bb ${SPECDIR}/${PKG_TO_BUILD}.spec |& tee ${SRPM}_rpmbuild.log"
|
||||||
|
rlFileSubmit "${SRPM}_rpmbuild.log"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "popd"
|
||||||
|
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalPrintText
|
||||||
|
rlJournalEnd
|
||||||
65
tests/Sanity/rpmbuild-librsvg2/Makefile
Normal file
65
tests/Sanity/rpmbuild-librsvg2/Makefile
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Makefile of /tools/rust/Sanity/rpmbuild-librsvg2
|
||||||
|
# Description: rpmbuild librsvg2
|
||||||
|
# Author: Edjunior Machado <emachado@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
export TEST=/tools/rust/Sanity/rpmbuild-librsvg2
|
||||||
|
export TESTVERSION=1.0
|
||||||
|
|
||||||
|
BUILT_FILES=
|
||||||
|
|
||||||
|
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
||||||
|
|
||||||
|
.PHONY: all install download clean
|
||||||
|
|
||||||
|
run: $(FILES) build
|
||||||
|
./runtest.sh
|
||||||
|
|
||||||
|
build: $(BUILT_FILES)
|
||||||
|
test -x runtest.sh || chmod a+x runtest.sh
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ $(BUILT_FILES)
|
||||||
|
|
||||||
|
|
||||||
|
include /usr/share/rhts/lib/rhts-make.include
|
||||||
|
|
||||||
|
$(METADATA): Makefile
|
||||||
|
@echo "Owner: Edjunior Machado <emachado@redhat.com>" > $(METADATA)
|
||||||
|
@echo "Name: $(TEST)" >> $(METADATA)
|
||||||
|
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||||
|
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||||
|
@echo "Description: rpmbuild librsvg2" >> $(METADATA)
|
||||||
|
@echo "Type: Sanity" >> $(METADATA)
|
||||||
|
@echo "TestTime: 1h" >> $(METADATA)
|
||||||
|
@echo "RunFor: rust" >> $(METADATA)
|
||||||
|
# Due to bz1980717 librsvg2 requires git to build the srpm, but it's missing
|
||||||
|
# from the BuildRequires
|
||||||
|
@echo "Requires: rust rpm-build yum-utils librsvg2 git" >> $(METADATA)
|
||||||
|
@echo "Priority: Normal" >> $(METADATA)
|
||||||
|
@echo "License: GPLv2+" >> $(METADATA)
|
||||||
|
@echo "Confidential: no" >> $(METADATA)
|
||||||
|
@echo "Destructive: no" >> $(METADATA)
|
||||||
|
@echo "Releases: RHEL8 RHEL9" >> $(METADATA)
|
||||||
|
|
||||||
|
rhts-lint $(METADATA)
|
||||||
3
tests/Sanity/rpmbuild-librsvg2/PURPOSE
Normal file
3
tests/Sanity/rpmbuild-librsvg2/PURPOSE
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
PURPOSE of /tools/rust/Sanity/rpmbuild-librsvg2
|
||||||
|
Description: rpmbuild librsvg2
|
||||||
|
Author: Edjunior Machado <emachado@redhat.com>
|
||||||
18
tests/Sanity/rpmbuild-librsvg2/main.fmf
Normal file
18
tests/Sanity/rpmbuild-librsvg2/main.fmf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
summary: rpmbuild librsvg2
|
||||||
|
description:
|
||||||
|
- 'Ensure that rust does not break librsvg2 rpmbuild'
|
||||||
|
contact:
|
||||||
|
- Jesus Checa Hidalgo <jcheca@redhat.com>
|
||||||
|
component:
|
||||||
|
- rust
|
||||||
|
test: ./runtest.sh
|
||||||
|
framework: beakerlib
|
||||||
|
recommend:
|
||||||
|
- rust
|
||||||
|
- rpm-build
|
||||||
|
- yum-utils
|
||||||
|
- librsvg2
|
||||||
|
- git
|
||||||
|
duration: 1h
|
||||||
|
extra-summary: /tools/rust/Sanity/rpmbuild-librsvg2
|
||||||
|
extra-task: /tools/rust/Sanity/rpmbuild-librsvg2
|
||||||
68
tests/Sanity/rpmbuild-librsvg2/runtest.sh
Executable file
68
tests/Sanity/rpmbuild-librsvg2/runtest.sh
Executable file
@ -0,0 +1,68 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# runtest.sh of /tools/rust/Sanity/rpmbuild-librsvg2
|
||||||
|
# Description: rpmbuild librsvg2
|
||||||
|
# Author: Edjunior Machado <emachado@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
# Include Beaker environment
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
PACKAGE="$(rpm -qf $(which rustc))"
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertRpm $PACKAGE || rlDie "rustc not found. Aborting testcase..."
|
||||||
|
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
|
||||||
|
rlRun "pushd $TmpDir"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
PKG_TO_BUILD=librsvg2
|
||||||
|
rlPhaseStart FAIL ${PKG_TO_BUILD}FetchSrcAndInstallBuildDeps
|
||||||
|
if ! rlCheckRpm $PKG_TO_BUILD; then
|
||||||
|
rlRun "yum install -y $PKG_TO_BUILD ${YUM_SWITCHES}"
|
||||||
|
rlAssertRpm $PKG_TO_BUILD
|
||||||
|
fi
|
||||||
|
rlFetchSrcForInstalled $PKG_TO_BUILD
|
||||||
|
rlRun SRPM=$(ls -1 ${PKG_TO_BUILD}*src.rpm)
|
||||||
|
rlRun "rpm -ivh $SRPM"
|
||||||
|
rlRun SPECDIR="$(rpm -E '%{_specdir}')"
|
||||||
|
|
||||||
|
# librsvg2 contains dynamic dependencies. builddep needs to be run
|
||||||
|
# from the srpm (not the spec file) to be able to generate them:
|
||||||
|
# https://fedoraproject.org/wiki/Changes/DynamicBuildRequires#rpmbuild
|
||||||
|
rlRun "yum-builddep -y ${SRPM} ${YUM_SWITCHES}"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
set -o pipefail
|
||||||
|
rlRun "rpmbuild -bb ${SPECDIR}/${PKG_TO_BUILD}.spec |& tee ${SRPM}_rpmbuild.log"
|
||||||
|
rlFileSubmit "${SRPM}_rpmbuild.log"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "popd"
|
||||||
|
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalPrintText
|
||||||
|
rlJournalEnd
|
||||||
64
tests/Sanity/rust-wasm-smoke-test/Makefile
Normal file
64
tests/Sanity/rust-wasm-smoke-test/Makefile
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Makefile of /tools/rust/Sanity/rust-wasm-smoke-test
|
||||||
|
# Description: Test that the rust wasm target is enabled and can compile correctly
|
||||||
|
# Author: Jesus Checa <jcheca@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
export TEST=/tools/rust/Sanity/rust-wasm-smoke-test
|
||||||
|
export TESTVERSION=1.0
|
||||||
|
|
||||||
|
BUILT_FILES=
|
||||||
|
|
||||||
|
FILES=$(METADATA) runtest.sh Makefile PURPOSE lib.rs test.js
|
||||||
|
|
||||||
|
.PHONY: all install download clean
|
||||||
|
|
||||||
|
run: $(FILES) build
|
||||||
|
./runtest.sh
|
||||||
|
|
||||||
|
build: $(BUILT_FILES)
|
||||||
|
test -x runtest.sh || chmod a+x runtest.sh
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ $(BUILT_FILES)
|
||||||
|
|
||||||
|
|
||||||
|
include /usr/share/rhts/lib/rhts-make.include
|
||||||
|
|
||||||
|
$(METADATA): Makefile
|
||||||
|
@echo "Owner: Jesus Checa <jcheca@redhat.com>" > $(METADATA)
|
||||||
|
@echo "Name: $(TEST)" >> $(METADATA)
|
||||||
|
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||||
|
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||||
|
@echo "Description: Test that the rust wasm target is enabled and can compile correctly" >> $(METADATA)
|
||||||
|
@echo "Type: Sanity" >> $(METADATA)
|
||||||
|
@echo "TestTime: 5m" >> $(METADATA)
|
||||||
|
@echo "RunFor: rust" >> $(METADATA)
|
||||||
|
@echo "Requires: rust rust-std-static-wasm32-unknown-unknown nodejs" >> $(METADATA)
|
||||||
|
@echo "Priority: Normal" >> $(METADATA)
|
||||||
|
@echo "License: GPLv2+" >> $(METADATA)
|
||||||
|
@echo "Confidential: no" >> $(METADATA)
|
||||||
|
@echo "Destructive: no" >> $(METADATA)
|
||||||
|
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL7" >> $(METADATA)
|
||||||
|
@echo "Architectures: aarch64 ppc64le x86_64" >> $(METADATA)
|
||||||
|
|
||||||
|
rhts-lint $(METADATA)
|
||||||
3
tests/Sanity/rust-wasm-smoke-test/PURPOSE
Normal file
3
tests/Sanity/rust-wasm-smoke-test/PURPOSE
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
PURPOSE of /tools/rust/Sanity/rust-wasm-smoke-test
|
||||||
|
Description: Test that the rust wasm target is enabled and can compile correctly
|
||||||
|
Author: Jesus Checa <jcheca@redhat.com>
|
||||||
12
tests/Sanity/rust-wasm-smoke-test/lib.rs
Normal file
12
tests/Sanity/rust-wasm-smoke-test/lib.rs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#[no_mangle]
|
||||||
|
pub fn fib(index: u32) -> u32 {
|
||||||
|
let mut nminus2;
|
||||||
|
let mut nminus1 = 1;
|
||||||
|
let mut n = 0;
|
||||||
|
for _ in 0..index {
|
||||||
|
nminus2 = nminus1;
|
||||||
|
nminus1 = n;
|
||||||
|
n = nminus2 + nminus1;
|
||||||
|
}
|
||||||
|
n
|
||||||
|
}
|
||||||
15
tests/Sanity/rust-wasm-smoke-test/main.fmf
Normal file
15
tests/Sanity/rust-wasm-smoke-test/main.fmf
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
summary: Test that the rust wasm target is enabled and can compile correctly
|
||||||
|
description: ''
|
||||||
|
contact:
|
||||||
|
- Jesus Checa <jcheca@redhat.com>
|
||||||
|
component:
|
||||||
|
- rust
|
||||||
|
test: ./runtest.sh
|
||||||
|
framework: beakerlib
|
||||||
|
recommend:
|
||||||
|
- rust
|
||||||
|
- rust-std-static-wasm32-unknown-unknown
|
||||||
|
- nodejs
|
||||||
|
duration: 5m
|
||||||
|
extra-summary: /tools/rust/Sanity/rust-wasm-smoke-test
|
||||||
|
extra-task: /tools/rust/Sanity/rust-wasm-smoke-test
|
||||||
53
tests/Sanity/rust-wasm-smoke-test/runtest.sh
Executable file
53
tests/Sanity/rust-wasm-smoke-test/runtest.sh
Executable file
@ -0,0 +1,53 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# runtest.sh of /tools/rust/Sanity/rust-wasm-smoke-test
|
||||||
|
# Description: Test that the rust wasm target is enabled and can compile correctly
|
||||||
|
# Author: Jesus Checa <jcheca@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
# Include Beaker environment
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
PACKAGES="$(rpm -qf $(which rustc)) rust-std-static-wasm32-unknown-unknown"
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertRpm --all
|
||||||
|
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
|
||||||
|
rlRun "cp lib.rs $TmpDir"
|
||||||
|
rlRun "cp test.js $TmpDir"
|
||||||
|
rlRun "pushd $TmpDir"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
rlRun "rustc --target wasm32-unknown-unknown --crate-type=cdylib lib.rs -o fib.wasm" 0 "Building WASM binary"
|
||||||
|
rlRun "node test.js" 0 "Testing WASM binary"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "popd"
|
||||||
|
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalPrintText
|
||||||
|
rlJournalEnd
|
||||||
|
|
||||||
28
tests/Sanity/rust-wasm-smoke-test/test.js
Normal file
28
tests/Sanity/rust-wasm-smoke-test/test.js
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
function js_fibonacci(index) {
|
||||||
|
let nminus2 = 0;
|
||||||
|
let nminus1 = 1;
|
||||||
|
let n = 0;
|
||||||
|
for(let i = 0; i < index; ++i) {
|
||||||
|
nminus2 = nminus1;
|
||||||
|
nminus1 = n;
|
||||||
|
n = nminus1 + nminus2;
|
||||||
|
}
|
||||||
|
return n;
|
||||||
|
}
|
||||||
|
|
||||||
|
const fs = require('fs');
|
||||||
|
const buf = fs.readFileSync('./fib.wasm');
|
||||||
|
const lib = WebAssembly.instantiate(new Uint8Array(buf)).
|
||||||
|
then(res => {
|
||||||
|
var fib = res.instance.exports.fib;
|
||||||
|
for (var i=1; i<=10; i++) {
|
||||||
|
if(fib(i) != js_fibonacci(i)){
|
||||||
|
console.log("Mismatch between wasm and JS functions");
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
console.log(e);
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
|
);
|
||||||
Loading…
Reference in New Issue
Block a user