You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know exactly why this is a thing, but when the arguments passed to rust lld are too long (?) it gets passed a special argument (at the bottom of this page) that refers to a file. Currently, flip-link doesn't seem to handle this.
I've made a fork that "fixes" the bug by just hardcoding support and using a bunch of unwraps here, but I imagine someone who knows how linkers work and can make a good solution should be the one to make the PR.
The text was updated successfully, but these errors were encountered:
It's because operating systems place a fairly small upper bound on the length of a command line. I think it's 8191 bytes on Windows. We should handle this, I agree.
@great-houk The documentation does not state that the argument can only be in last position. From reading the docs I'd assume it can be in any. Unless it is specified somewhere else we should support it in any position.
Also can there only be one of those arguments or also multiple?
Can you open a PR with your changes? I think you can get rid of some unwraps by using if let and the like.
I don't know exactly why this is a thing, but when the arguments passed to rust lld are too long (?) it gets passed a special argument (at the bottom of this page) that refers to a file. Currently, flip-link doesn't seem to handle this.
I've made a fork that "fixes" the bug by just hardcoding support and using a bunch of unwraps here, but I imagine someone who knows how linkers work and can make a good solution should be the one to make the PR.
The text was updated successfully, but these errors were encountered: