========================== Language -------- - [Make `Sized` predicates coinductive, allowing cycles.](https://github.com/rust-lang/rust/pull/100386/) - [`#[must_use]` annotations on `async fn` also affect the `Future::Output`.](https://github.com/rust-lang/rust/pull/100633/) - [Elaborate supertrait obligations when deducing closure signatures.](https://github.com/rust-lang/rust/pull/101834/) - [Invalid literals are no longer an error under `cfg(FALSE)`.](https://github.com/rust-lang/rust/pull/102944/) - [Unreserve braced enum variants in value namespace.](https://github.com/rust-lang/rust/pull/103578/) Compiler -------- - [Enable varargs support for calling conventions other than `C` or `cdecl`.](https://github.com/rust-lang/rust/pull/97971/) - [Add new MIR constant propagation based on dataflow analysis.](https://github.com/rust-lang/rust/pull/101168/) - [Optimize field ordering by grouping m\*2^n-sized fields with equivalently aligned ones.](https://github.com/rust-lang/rust/pull/102750/) - [Stabilize native library modifier `verbatim`.](https://github.com/rust-lang/rust/pull/104360/) Added and removed targets: - [Add a tier 3 target for PowerPC on AIX](https://github.com/rust-lang/rust/pull/102293/), `powerpc64-ibm-aix`. - [Add a tier 3 target for the Sony PlayStation 1](https://github.com/rust-lang/rust/pull/102689/), `mipsel-sony-psx`. - [Add tier 3 `no_std` targets for the QNX Neutrino RTOS](https://github.com/rust-lang/rust/pull/102701/), `aarch64-unknown-nto-qnx710` and `x86_64-pc-nto-qnx710`. - [Remove tier 3 `linuxkernel` targets](https://github.com/rust-lang/rust/pull/104015/) (not used by the actual kernel). Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support. Libraries --------- - [Merge `crossbeam-channel` into `std::sync::mpsc`.](https://github.com/rust-lang/rust/pull/93563/) - [Fix inconsistent rounding of 0.5 when formatted to 0 decimal places.](https://github.com/rust-lang/rust/pull/102935/) - [Derive `Eq` and `Hash` for `ControlFlow`.](https://github.com/rust-lang/rust/pull/103084/) - [Don't build `compiler_builtins` with `-C panic=abort`.](https://github.com/rust-lang/rust/pull/103786/) Stabilized APIs OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.67?expand=0&rev=2 |
||
---|---|---|
_constraints | ||
_multibuild | ||
_service | ||
.gitattributes | ||
.gitignore | ||
ignore-Wstring-conversion.patch | ||
README.suse-maint | ||
rust1.67-rpmlintrc | ||
rust1.67.changes | ||
rust1.67.spec | ||
rust-1.67.0-aarch64-unknown-linux-gnu.tar.xz | ||
rust-1.67.0-aarch64-unknown-linux-gnu.tar.xz.asc | ||
rust-1.67.0-arm-unknown-linux-gnueabihf.tar.xz | ||
rust-1.67.0-arm-unknown-linux-gnueabihf.tar.xz.asc | ||
rust-1.67.0-armv7-unknown-linux-gnueabihf.tar.xz | ||
rust-1.67.0-armv7-unknown-linux-gnueabihf.tar.xz.asc | ||
rust-1.67.0-i686-unknown-linux-gnu.tar.xz | ||
rust-1.67.0-i686-unknown-linux-gnu.tar.xz.asc | ||
rust-1.67.0-powerpc64-unknown-linux-gnu.tar.xz | ||
rust-1.67.0-powerpc64-unknown-linux-gnu.tar.xz.asc | ||
rust-1.67.0-powerpc64le-unknown-linux-gnu.tar.xz | ||
rust-1.67.0-powerpc64le-unknown-linux-gnu.tar.xz.asc | ||
rust-1.67.0-powerpc-unknown-linux-gnu.tar.xz | ||
rust-1.67.0-powerpc-unknown-linux-gnu.tar.xz.asc | ||
rust-1.67.0-riscv64gc-unknown-linux-gnu.tar.xz | ||
rust-1.67.0-riscv64gc-unknown-linux-gnu.tar.xz.asc | ||
rust-1.67.0-s390x-unknown-linux-gnu.tar.xz | ||
rust-1.67.0-s390x-unknown-linux-gnu.tar.xz.asc | ||
rust-1.67.0-x86_64-unknown-linux-gnu.tar.xz | ||
rust-1.67.0-x86_64-unknown-linux-gnu.tar.xz.asc | ||
rust.keyring | ||
rustc-1.67.0-src.tar.xz |
# Automatic updating via _service Edit the rustX.YY.spec file, and update the variables related with the version: - *version_suffix*: for the new version of Rust, in X.YY format - *version_current*: for the new version of Rust, in X.YY.Z format - *version_previous*: for the previous version of Rust, in X.YY.X format Generate the spec files for the different bootstrap compilers. This will take the version from the main spec file. ./update-bootstrap.sh After that, we can execute the service file: osc service disabledrun This will download the new bootstrap compilers and the signature file. 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. # Running the tests locally The tests are executed outside the main package using the _multibuild feature of OBS. This is convenient for several reasons: * We force the installation of the new rustc / cargo in the system * All the test / bootstrabs and utilities are compiled using the new compiler, and not the one used to generate the initial Rust compiler. * A test fail do not block the release. Upstream tests can be affected by some environment application, and there is some delay for the fix. The tests can be run with: osc build -M test This will install the Rust compiler from OBS, so is a good idea that we have them available. If some test fail, we can enter the chroot to debug it: osc shell There is more information about the test infrastructure here: https://rustc-dev-guide.rust-lang.org/tests/intro.html