rustc: "backchain" on IBM Z platforms is considered unsafe by Rust
Bug #2072540 reported by
Zixing Liu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rust-defaults (Ubuntu) |
New
|
Medium
|
Zixing Liu |
Bug Description
The Rust compiler considers the "backchain" attribute unsafe on IBM Z (s390x) platforms.
Upon investigation, this is because the feature allow list in the Rust compiler does not include this attribute.
Since we want to enable backchain for all Rust projects in Ubuntu, we need to fix the Rust compiler so that this is not considered to be unsound.
Patch submitted to https:/ /github. com/rust- lang/rust/ pull/127506