Skip to content

Fix for bitshift errors lint on cross compilation #18587 #18593

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 4, 2014

Conversation

hirschenberger
Copy link
Contributor

Uses the target architecture int size for checks on cross compilation

Closes #18587

@hirschenberger
Copy link
Contributor Author

I assume there's never a unsized int type in cx.sess().targ_cfg.int_type or we get an infinite recursion. But I think the purpose of these fields are to configure the size of the unsized ints.

@alexcrichton
Copy link
Member

Thanks for the quick fix @hirschenberger, it's much appreciated!

@hirschenberger
Copy link
Contributor Author

I broke it, I fix it ;-)

Good night...

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Nov 4, 2014
Conflicts:
	src/test/compile-fail/lint-exceeding-bitshifts.rs
@bors bors merged commit e7f3109 into rust-lang:master Nov 4, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Dec 11, 2024
Fix parsing of parenthesized type args and RTN
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.

Bit-shift lint errors on cross-compiles
3 participants