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

Fix windows build failed and allowed build under msys2 or cygwin #2735

Merged
merged 2 commits into from
May 17, 2021

Conversation

SquallATF
Copy link
Contributor

fix #2666 #2711
if linker arguments too long, rust will use response file link.rs#L1178, then output filename detect will failed.

Under msys2 and cygwin RUST_ANDROID_GRADLE_CC should convert to unix path when use native python.

Under msys2 and cygwin environment the response file will convert to full arguments when run under winshell, so need convert linker arguments back to response file to avoid Argument list too long

@SquallATF SquallATF force-pushed the windowsbuild branch 3 times, most recently from 1bf6b67 to 62fe0f3 Compare May 10, 2021 09:06
@SquallATF
Copy link
Contributor Author

I have create a patch for rust plugin mozilla/rust-android-gradle#59
If that patch merged will not need 6da9cbb

@Mygod
Copy link
Contributor

Mygod commented May 14, 2021

That would be even better!

@madeye madeye merged commit 6272fc7 into shadowsocks:master May 17, 2021
@Mygod
Copy link
Contributor

Mygod commented May 17, 2021

@madeye Huh I was waiting them to merge mozilla/rust-android-gradle#59

@madeye
Copy link
Contributor

madeye commented May 17, 2021

Hmm... revert?

@Mygod
Copy link
Contributor

Mygod commented May 17, 2021

It's ok. I don't really care about building on Windows anyways.

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.

problem building
3 participants