-
Notifications
You must be signed in to change notification settings - Fork 7
Possibly no longer need init()
function?
#21
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
Comments
It'd be great! I'll try when I can. |
It works! I've opened 3 PRs for the case: |
That's great! It looks like from your changes that it still requires a function from the given crate to be imported, is that correct? Otherwise we might as well just delete the |
Wow, I'm surprised it works, since I still ran into issues and had to open this issue: |
yeah, I think the intention (based on rust-lang/rust#94348 (comment)) was always that @AzureMarker I wonder if you would still be able to reproduce that issue or not given that this seems to be working for the 3ds libs now. |
That’s my guess. The “fix” for that issue completely revamped the linking setup made by the compiler. |
I feel like a weight has been lifted from the toolchain! |
It looks like rust-lang/rust#47384 has been fixed since 1.62, so I wonder if we might be able to rely on
#[no_mangle]
and drop all theinit()
functions we needed to export everything? Same might apply forrust-linker-fix-3ds
but this crate has a lot more of them so maybe a better place to start testing.The text was updated successfully, but these errors were encountered: