Skip to content

Add LLVM based MinGW targets#669

Closed
mati865 wants to merge 1 commit into
rust-lang:mainfrom
mati865:llvm-mingw-targets
Closed

Add LLVM based MinGW targets#669
mati865 wants to merge 1 commit into
rust-lang:mainfrom
mati865:llvm-mingw-targets

Conversation

@mati865

@mati865 mati865 commented Mar 28, 2022

Copy link
Copy Markdown
Member

@dot-asm

dot-asm commented Mar 30, 2022

Copy link
Copy Markdown
Contributor

This is duplicate of comment at rust-lang

Not that my word weighs a lot here and I apologize, but I fail to see the need for an additional target. Is there a programming interface that clang uses/requires that gcc and/or Microsoft cl don't? What I'm trying to say is that it's rather the programming interface that defines any particular target platform, not the compiler. Compilers are supposed to be and actually are interchangeable. For example, on Windows you can use clang-cl instead of vendor cl with *-msvc targets. On Linux you can freely switch between clang and gcc. And I see no reason for why it would be impossible to have the similar arrangement for *-windows-gnu targets.

@dot-asm

dot-asm commented Jun 5, 2022

Copy link
Copy Markdown
Contributor

Just in case for reference, my remark was refuted in the referred thread at rust-lang. To summarize, it boils down to irreconcilable differences in exception handling mechanisms.

@thomcc thomcc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm in favor of supporting the -gnullvm targets, but this seems to remove one of the -gnu targets?

Comment thread src/lib.rs
@thomcc thomcc added the O-windows Windows targets and toolchains label Oct 26, 2022
@mati865 mati865 closed this Oct 26, 2022
@mati865

mati865 commented Oct 26, 2022

Copy link
Copy Markdown
Member Author

Possibly due to repo move GitHub ignores pushes to this branch, moving to new PR: #734

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-windows Windows targets and toolchains

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants