-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure on E0599 #81
Comments
失念していました。Rust書いている人はだいたい 「設定で弾く」ことをやろうとしたらこうでしょうか。 #[rustversion::before(1.45.2)]
compile_error!("the MSRV is `1.45.2`"); ちなみに |
そうだったんですね。Rust は新しいバージョンが使われることが多いのは把握してたけれど、6 か月前程度なら動いてほしいと思ってしまいました。5 年前のバージョンでも動くように書くのが普通の言語たちばかり使ってるせいだと思います。 そのような文化が背景にあるのなら (非 Rust ユーザの数次第ですが) 特に書かなくてもよいかもしれません。 |
とりあえず閉じておきますね |
「明記するのは一般的ではない」は言いすぎだったかもしれません。みんな書いてる人は書いてる。 あとそういえばMSRVのREADME用badgeがありました。これ貼っておきましょう。 |
このあと
rustup update
ってしてからもう一度試したら通ったんですが、Rust 処理系の特定のバージョンでしか動かないなら README に書くかCargo.toml
の設定で弾くなどをしておいてほしいThe text was updated successfully, but these errors were encountered: