aes: x86_64-unknown-none breaks on Rust 1.100
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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)
- 主要語言
- Rust
- 星號
- 789
- 分支
- 160
- 平均合併
- 7 分鐘
- 30 天內合併 PR
- 1
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
RustCrypto/block-ciphers 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
RustCrypto/block-ciphers#589 · 5 則留言 ·
-
aes
難度 5/5 一週以上 新手友好度 45/100
RustCrypto/block-ciphers#559 · 10 則留言 ·
-
aes
難度 5/5 一週以上 新手友好度 35/100
RustCrypto/block-ciphers#548 · 1 則留言 ·
-
aes
難度 5/5 一週以上 新手友好度 30/100
RustCrypto/block-ciphers#485 · 7 則留言 ·
-
Add const time column to the algorithms table and mention const time properties in each crate README未關閉
難度 4/5 3-5 天 新手友好度 42/100
RustCrypto/block-ciphers#480 · 1 個 reaction ·
查看 RustCrypto/block-ciphers 的全部 Issue
相似的 Issue
-
benchmark-review
難度 2/5 1-3 小時 新手友好度 63/100
維護者通常 1 天內回覆
-
area:filesystem bug need-triage
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
Captions panel does not offer to show an existing transcript可能已有人在做 @thedavidweng 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
CapSoftware/Cap#4276 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
libracoder/kiri#364 ·
維護者通常 1 天內回覆