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

clarify setup for static libraries #935

Conversation

newcomertv
Copy link
Contributor

Applying the defmt linker args to a cargo package which produces a static lib does not yield any warning.
A user attempting to use this as a module of a larger C project may be surprised to not receive any logs.

After dealing with this issue myself I think its worth putting this into a somewhat prominent user guide section as the final binary gets built and the issue isn't immediately obvious.

@jonathanpallant
Copy link
Contributor

I appreciate you taking them time to improve our documentation to cover this usecase, and I apologise for our documentation previously being unclear in this area.

@jonathanpallant jonathanpallant added this pull request to the merge queue Feb 13, 2025
Merged via the queue into knurling-rs:main with commit 17fdb37 Feb 13, 2025
23 checks passed
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.

2 participants