-
Notifications
You must be signed in to change notification settings - Fork 1
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
The link_args attribute has been removed #2
Comments
I'll look into having |
Nothing much, I was just looking to see if rust has a nice hot reloading mechanism a-la modern javascript bundlers (vite, snowpack) in If reloady gets more versatile hot reloading (which I know must be hard to implement) I'd be very happy and would definitely use it for all of my own rust projects (not that there are that many of those). |
Hi, I have a big use case for this but I can't get it to work on windows. So since Also the clap crate inside My use case is loading a 50GB file into memory and that takes usually up to 10 minutes so I desperately need a way to hot reload a function that is reading the loaded file content in a loop. |
Unfortunately, there are some big issues with the state of this library. Rust doesn't provide an easy way to export symbols from an executable (pending rust-lang/rust#84161 for I plan to open a larger tracking issue in this repository regarding this, but wanted to give a brief summary given the silence on this. Thanks for your use case @whyCPPgofast :) |
Can you try running Thank you for your response. |
Unfortunately I don't have a windows machine right now so I can't fix and test this :( |
See rust-lang/cargo#9557.
A temporary fix I found was to remove all references to it in the source code and add a build script that prints
cargo:rustc-link-arg=-export-dynamic
to my app (I'm on Linux).Could it perhaps be possible to export a helper for users to put in their build scripts that prints the correct
cargo:rustc-link-arg
directive for their platform and selected feature set?Or is this only needed for the reloady library and not for the actual projects that use it?
Because in that case I feel like the fix would be easier.
The text was updated successfully, but these errors were encountered: