Skip to content

Conversation

ruwi-next
Copy link
Contributor

Hi

Native image can output shared libraries along with the native native binary. These are placed in the output directory next to the binary executable, but I could not find a way of collecting these files.

I wanted to be able to detect the files that native image would output and declare those as outputs but I wasn't able to figure out that. It seems that the libraries that are produced are determined by the code written and so we cannot determine this just by inspecting the command we are invoking.

Instead I exposed an attr so the user can specify the extra files they expect to be generated. This is probably not ideal but it works for my use case.

Any feedback is appreciated.

@ruwi-next ruwi-next requested a review from sgammon as a code owner December 20, 2024 10:34
Copy link

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.

1 participant