`rustc_codegen_nvvm` fails to compile on nightly version of rust that is specified in the `rust-toolchain.toml`
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 28/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
rust-toolchain.toml と vecadd の例から始め、指定された nightly を使って外部の cargo build の失敗を再現します。公開されている rustc_codegen_nvvm 0.3.0 のソース、特に src/lib.rs と、リポジトリのビルドを比較します。vecadd からコピーした新しいプロジェクトが、リポジトリ内の checkout に依存せず正常にビルドできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi there, I really like this project and want to see it succeed! Thank you for rebooting this, I'm sure I'll end up contributing once I get to grips with things a bit more :)
When doing cargo build in a new project which is simply a copy-paste of the vecadd example, I get this error:
Compiling rustc_codegen_nvvm v0.3.0
error[E0463]: can't find crate for `rustc_attr`
--> /home/ubuntu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustc_codegen_nvvm-0.3.0/src/lib.rs:10:1
|
10 | extern crate rustc_attr;
| ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
I also get a laundry list of a bunch of other errors, presumably as a result. Btw I'm using the latest rust-toolchain.toml that's in this repo.
I looked into the source code for rustc_codegen_nvvm, and it is still v0.3.0, but it doesn't have the line extern crate rustc_attr; anywhere. I assume this is as a result of the recent version bump of the nightly Rust dependency. Of course, I can clone this repo, the dev container works just fine, and the vecadd example builds fine when run in this repo, but the build broken when you don't build stuff directly inside this repo.
I think this issue could be solved with a simple version bump + push of the rustc_codegen_nvvm crate. Please could you do this? I'd really love to use this crate even in this early stage, but can't as a result of this.
Alternatively, could you provide the nightly rust version which would successfully compile this? I tried a few different options and various settings in the rust-toolchain.toml but couldn't get anything to work.
- 主要言語
- Rust
- スター
- 5.4k
- フォーク
- 251
- 平均マージ
- 4日 15時間
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Rust-GPU/rust-cuda のほかの issue
-
Default NvvmArch::Compute75 silently produces InvalidPtx on pre-Turing GPUs (Pascal/Maxwell/Volta)オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
Array parameters lose alignment metadata and ICE on >16 byte alignments対応中かも @Snehal-Reddy が 163 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
Rust-GPU/rust-cuda の issue をすべて見る
似ている issue
-
llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
area: backend type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
armadavalor/WinKnife#6 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
5omeOtherGuy/phaseone#870 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
MattA-Official/vwmcp#20 ·