aes: x86_64-unknown-none breaks on Rust 1.100
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
Rechercherichtung
Start with aes-0.9.4/src/backends/x86_aes.rs:40 and inspect the sse target feature warning for x86_64-unknown-none. Reproduce the build with Rust 1.100 and cargo report future-incompatibilities --id 1; determine whether the warning and LLVM error share a cause. Done means the target compiles without the reported failure and the issue’s relationship between the two diagnostics is clarified.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The aes crate does not build anymore on Rust 1.100.
See the output of cargo report future-incompatibilities --id 1:
[...]
The package `aes v0.9.4` currently triggers the following future incompatibility lints:
> warning: enabling the `sse` target feature on the current target is unsupported due to LLVM backend issues
> --> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aes-0.9.4/src/backends/x86_aes.rs:40:22
> |
> 40 | #[target_feature(enable = "aes")]
> | ^^^^^^^^^^^^^^
> |
> = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
> = note: for more information, see issue #117938 <https://github.com/rust-lang/rust/issues/117938>
[...]
This gives the following error when compiling for x86_64-unknown-none:
Compiling mycrate v0.1.0 (/home/user/mycrate)
rustc-LLVM ERROR: Do not know how to split the result of this operator!
error: could not compile `mycrate` (lib)
(although this might be 2 different problems)
- Vorherrschende Sprache
- Rust
- Sterne
- 789
- Forks
- 160
- Ø Merge
- 7 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus RustCrypto/block-ciphers
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
RustCrypto/block-ciphers#589 · 5 Kommentare ·
-
aes
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 45/100
RustCrypto/block-ciphers#559 · 10 Kommentare ·
-
aes
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
RustCrypto/block-ciphers#548 · 1 Kommentar ·
-
SVE AES on aarch64Offenaes
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
RustCrypto/block-ciphers#485 · 7 Kommentare ·
-
Add const time column to the algorithms table and mention const time properties in each crate READMEOffen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
RustCrypto/block-ciphers#480 · 1 Reaktion ·
Alle Issues in RustCrypto/block-ciphers
Ähnliche Issues
-
benchmark-review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:filesystem bug need-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Captions panel does not offer to show an existing transcriptEvtl. vergeben @thedavidweng hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
CapSoftware/Cap#4276 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
libracoder/kiri#364 ·
Maintainer antworten meist innerhalb von 1 Tag