Skip to content
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

Use 2018-edition idioms in crates that use that edition #22133

Merged
merged 3 commits into from Nov 8, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Revert "Disable unused-extern-crates warnings for now"

This reverts commit 32462cd.
  • Loading branch information
SimonSapin committed Nov 8, 2018
commit 50c840fe42f4bf91019e9e585ee9c1c85cde232e
@@ -646,6 +646,8 @@ def package_dir(package):
if target.startswith('arm') or target.startswith('aarch64'):
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C target-feature=+neon"

env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -W unused-extern-crates"

git_info = []
if os.path.isdir('.git') and is_build:
git_sha = subprocess.check_output([
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.