Skip to content

コンパイル時にwarningがあるときはCIをfailにしたい #55

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

Closed
laysakura opened this issue May 4, 2021 · 1 comment · Fixed by #57
Closed

コンパイル時にwarningがあるときはCIをfailにしたい #55

laysakura opened this issue May 4, 2021 · 1 comment · Fixed by #57
Labels
コメントを募集 ディスカッションが必要で、コメントを募集しています 全体方針 全体方針を決めるための Issue です

Comments

@laysakura
Copy link
Collaborator

laysakura commented May 4, 2021

#35 (comment)
このあたりのをCIで防ぎたい。

% RUSTFLAGS='-D warnings' cargo build --all-targets --all-features

でできるはず。

@laysakura laysakura added コメントを募集 ディスカッションが必要で、コメントを募集しています 全体方針 全体方針を決めるための Issue です 管理系 管理者がやっておく必要がある内容です and removed 管理系 管理者がやっておく必要がある内容です labels May 4, 2021
@yuk1ty
Copy link
Owner

yuk1ty commented May 4, 2021

導入しましょう!

意図的に警告をスルーしたい場合は allow attribute を明示的に書いてもらうという運用で十分そうですしね。

@yuk1ty yuk1ty closed this as completed in #57 May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
コメントを募集 ディスカッションが必要で、コメントを募集しています 全体方針 全体方針を決めるための Issue です
Projects
None yet
2 participants