Skip to content

Use LLVM's integrated assembler on Windows #10874

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 2 commits into from
Dec 9, 2013

Conversation

vadimcn
Copy link
Contributor

@vadimcn vadimcn commented Dec 9, 2013

Last LLVM update seems to have fixed whatever prevented LLVM integrated assembler from generating correct unwind tables on Windows. This PR switches Windows builds to use internal assembler by default.
Compilation via external assembler can still be requested via the newly added -Z no-integrated-as option.

Closes #8809

@alexcrichton
Copy link
Member

This is pretty awesome! If there's only one failing use case, I'm not sure there's any reason to keep around the code for the external assembler at all though. In your programs, have you run into any other problems other than that one test case?

@vadimcn
Copy link
Contributor Author

vadimcn commented Dec 9, 2013

I figured that it might be useful in the future to debug something, or if integrated assembler gets broken on some platform again. Besides, clang has this option too.

@thestinger
Copy link
Contributor

If nothing else, it's useful to work around a bug in the LLVM assembler (of which there are plenty).

bors added a commit that referenced this pull request Dec 9, 2013
Last LLVM update seems to have fixed whatever prevented LLVM integrated assembler from generating correct unwind tables on Windows.   This PR switches Windows builds to use internal assembler by default.
Compilation via external assembler can still be requested via the newly added `-Z no-integrated-as` option.

Closes #8809
@bors bors closed this Dec 9, 2013
@bors bors merged commit c8498c1 into rust-lang:master Dec 9, 2013
@vadimcn
Copy link
Contributor Author

vadimcn commented Dec 9, 2013

cc #10872

@vadimcn vadimcn deleted the integrated-as branch December 9, 2013 23:52
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 30, 2023
…,xFrednet

[`ptr_cast_constness`]: Only lint on casts which don't change type

fixes rust-lang#10874

changelog: [`ptr_cast_constness`]: Only lint on casts which don't change type
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.

Windows builds use external assembler
4 participants