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

Code Quality: Justify dynamic code usage #1896

Open
Lamparter opened this issue Jan 31, 2025 · 0 comments
Open

Code Quality: Justify dynamic code usage #1896

Lamparter opened this issue Jan 31, 2025 · 0 comments

Comments

@Lamparter
Copy link
Contributor

It's good practice to declare which methods and classes rely on calling non AOT-safe code (well, almost none of IronPython is AOT safe because it is literally powered by the dynamic language runtime) and adding RequiresUnreferencedCodeAttribute and RequiresDynamicCodeAttribute to applicable classes will enable analysers and trim warnings to appear in projects that consume IronPython and attempt to enable AOT publish, trimming or ready to run configuration.

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

No branches or pull requests

1 participant