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

Allow Modifiers For Statically Linked Libraries #118

Open
deg4uss3r opened this issue Jan 19, 2025 · 0 comments · May be fixed by #117
Open

Allow Modifiers For Statically Linked Libraries #118

deg4uss3r opened this issue Jan 19, 2025 · 0 comments · May be fixed by #117

Comments

@deg4uss3r
Copy link

I was updating some old code that used the metadeps crate and ran into an issue where I needed to add the +whole-archive modifier to my statically linked C libraries to build and test.

Once I moved to system-deps I noticed that feature wasn't supported, so I had to remove this dependency in favor of modifying the linker outputs manually in my build.rs. It would be nice if this was supported 😄

I have started a WIP PR in #117, if this is not something you would like let me know in the ticket.

⚠ Warning that PR is definitely a work in progress still as I have things building/working but no documentation or code review has been done yet, feel free to let me know your initial thoughts though!

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 a pull request may close this issue.

1 participant