Skip to content

Fix build when used as a submodule #599

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

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

jethrogb
Copy link
Contributor

@jethrogb jethrogb commented Nov 19, 2018

I tested this with a local checkout of https://github.com/rust-lang/rust/

Ideally CI would update the submodule and run cargo +nightly check inside src/libstd.

Copy link
Contributor

@gnzlbg gnzlbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'll merge when CI finishes. Thanks!

@jethrogb
Copy link
Contributor Author

Please don't merge yet, I just found another issue

@gnzlbg
Copy link
Contributor

gnzlbg commented Nov 19, 2018

Ping me when I should merge. I'm going to try to add a test for updating the submodule to stdsimd's CI.

@jethrogb jethrogb force-pushed the jb/fix-submodule-build branch from ab66abf to 2224d64 Compare November 19, 2018 16:02
@jethrogb
Copy link
Contributor Author

Take 2

@jethrogb jethrogb mentioned this pull request Nov 19, 2018
@jethrogb jethrogb force-pushed the jb/fix-submodule-build branch from 2224d64 to 727adf9 Compare November 19, 2018 17:00
@jethrogb
Copy link
Contributor Author

Build failures: ARM & Windows is not this PR's fault, I think. I fixed rustfmt.

@gnzlbg
Copy link
Contributor

gnzlbg commented Nov 19, 2018

That windows job is broken on master as well, so don't worry about it, I'll take a look later. rustfmt still appears to be broken though, you might need to use cargo fmt --all to cover all crates.

@jethrogb jethrogb force-pushed the jb/fix-submodule-build branch from 727adf9 to 37d0935 Compare November 19, 2018 17:44
@jethrogb
Copy link
Contributor Author

Ok one more time

@gnzlbg gnzlbg merged commit 2f5e78c into rust-lang:master Nov 19, 2018
@gnzlbg
Copy link
Contributor

gnzlbg commented Nov 19, 2018

Thanks! Let me know if upgrading it upstream succeeds!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants