3daf5fc387
- Update to version 1.52: + Language - [Added the `unsafe_op_in_unsafe_fn` lint, which checks whether the unsafe code in an `unsafe fn` is wrapped in a `unsafe` block.][79208] This lint is allowed by default, and may become a warning or hard error in a future edition. - [You can now cast mutable references to arrays to a pointer of the same type as the element.][81479] + Compiler - [Upgraded the default LLVM to LLVM 12.][81451] - Added tier 3\* support for the following targets. - [`s390x-unknown-linux-musl`][82166] - [`riscv32gc-unknown-linux-musl` & `riscv64gc-unknown-linux-musl`][82202] - [`powerpc-unknown-openbsd`][82733] + Libraries - [`OsString` now implements `Extend` and `FromIterator`.][82121] - [`cmp::Reverse` now has `#[repr(transparent)]` representation.][81879] - [`Arc<impl Error>` now implements `error::Error`.][80553] - [All integer division and remainder operations are now `const`.][80962] + Stabilised APIs - [`Arguments::as_str`] - [`char::MAX`] - [`char::REPLACEMENT_CHARACTER`] - [`char::UNICODE_VERSION`] - [`char::decode_utf16`] - [`char::from_digit`] - [`char::from_u32_unchecked`] - [`char::from_u32`] - [`slice::partition_point`] - [`str::rsplit_once`] OBS-URL: https://build.opensuse.org/request/show/891155 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=288 |
||
---|---|---|
_constraints | ||
_service | ||
.gitattributes | ||
.gitignore | ||
ignore-Wstring-conversion.patch | ||
README.suse-maint | ||
rust-1.51.0-aarch64-unknown-linux-gnu.tar.xz | ||
rust-1.51.0-aarch64-unknown-linux-gnu.tar.xz.asc | ||
rust-1.51.0-arm-unknown-linux-gnueabihf.tar.xz | ||
rust-1.51.0-arm-unknown-linux-gnueabihf.tar.xz.asc | ||
rust-1.51.0-armv7-unknown-linux-gnueabihf.tar.xz | ||
rust-1.51.0-armv7-unknown-linux-gnueabihf.tar.xz.asc | ||
rust-1.51.0-i686-unknown-linux-gnu.tar.xz | ||
rust-1.51.0-i686-unknown-linux-gnu.tar.xz.asc | ||
rust-1.51.0-powerpc64-unknown-linux-gnu.tar.xz | ||
rust-1.51.0-powerpc64-unknown-linux-gnu.tar.xz.asc | ||
rust-1.51.0-powerpc64le-unknown-linux-gnu.tar.xz | ||
rust-1.51.0-powerpc64le-unknown-linux-gnu.tar.xz.asc | ||
rust-1.51.0-powerpc-unknown-linux-gnu.tar.xz | ||
rust-1.51.0-powerpc-unknown-linux-gnu.tar.xz.asc | ||
rust-1.51.0-riscv64gc-unknown-linux-gnu.tar.xz | ||
rust-1.51.0-riscv64gc-unknown-linux-gnu.tar.xz.asc | ||
rust-1.51.0-s390x-unknown-linux-gnu.tar.xz | ||
rust-1.51.0-s390x-unknown-linux-gnu.tar.xz.asc | ||
rust-1.51.0-x86_64-unknown-linux-gnu.tar.xz | ||
rust-1.51.0-x86_64-unknown-linux-gnu.tar.xz.asc | ||
rust-rpmlintrc | ||
rust.changes | ||
rust.keyring | ||
rust.spec | ||
rustc-1.52.0-src.tar.xz |
# Automatic updating via _service Edit the spec file, and update the variables related with the version (in format X.YY.Z): - *version_current*: for the new version of Rust - *version_previous*: for the previous version of Rust - *version_bootstrap*: for the version used to compile Rust, it recommended to use the same version that *version_previous* - *rustfmt_version*: for the version of rustfmt cli, check the tarball to find the correct version - *clippy_version*: for the version of clippy, check the tarball to find the correct version After that, we can execute the service file: osc service disabledrun If `osc` complains about a missing service component, double check that the components are installed. For example, for Tumbleweed: zypper in obs-service-download_files obs-service-refresh_patches Finally, update the changelog based on the releases notes: https://github.com/rust-lang/rust/blob/master/RELEASES.md # Updating to a new version from upstream (Original link: https://en.opensuse.org/Rust) Branch the rust package in the devel:languages:rust project. You'll need to download precompiled binaries for the compiler used for bootstrapping, and the actual source code for the compiler. In the "Other Installation Methods" page listed below, note that it shows links to .tar.gz packages and their .tar.gz.asc GPG signatures, but .tar.xz versions are also available. *Binaries for bootstrapping* - Go to the "Other Installation Methods" page from rust-lang.org and scroll down to the "Standalone installers" section. Download the following: - rust-<version>-aarch64-unknown-linux-gnu.tar.xz - rust-<version>-armv7-unknown-linux-gnueabihf.tar.xz - rust-<version>-i686-unknown-linux-gnu.tar.xz - rust-<version>-powerpc64le-unknown-linux-gnu.tar.xz - rust-<version>-powerpc64-unknown-linux-gnu.tar.xz - rust-<version>-s390x-unknown-linux-gnu.tar.xz - rust-<version>-x86_64-unknown-linux-gnu.tar.xz *Compiler source code* - From the same page, but now in the "Source code" section, download this: rustc-<version>-src.tar.xz Update those files in the source RPM. Check that all the patches still apply. Update the version number in rust.spec. Add the release notes to rust.changes.