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

Skip -isystem stuff if --target is specified, and don't strip leading _ on Windows #54

Merged
merged 2 commits into from
Sep 8, 2016

Conversation

vvuk
Copy link
Contributor

@vvuk vvuk commented Sep 8, 2016

The -isystem stuff fixes issue #53.

Stripping leading _ on Windows is weird; it needs to not be stripped on MSVC (leading @), but on gcc at one point it needed to be. But now it no longer does. I don't know. 'cargo test' succeeds with mozjs bindings generated with these fixes.

@emilio
Copy link
Contributor

emilio commented Sep 8, 2016

@bors-servo: r+

Hmmm... Last time SM bindings were generated with LLVM 3.8? That might explain it. Anyway, huh.

@bors-servo
Copy link

📌 Commit 120dacb has been approved by emilio

@bors-servo
Copy link

⚡ Test exempted - status

@bors-servo bors-servo merged commit 120dacb into rust-lang:master Sep 8, 2016
bors-servo pushed a commit that referenced this pull request Sep 8, 2016
Skip -isystem stuff if --target is specified, and don't strip leading _ on Windows

The -isystem stuff fixes issue #53.

Stripping leading _ on Windows is weird; it needs to not be stripped on MSVC (leading @), but on gcc at one point it needed to be.  But now it no longer does.  I don't know.  'cargo test' succeeds with mozjs bindings generated with these fixes.
@emilio emilio mentioned this pull request Nov 4, 2016
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.

4 participants