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

Module rework #501

Merged
merged 7 commits into from
May 6, 2023
Merged

Module rework #501

merged 7 commits into from
May 6, 2023

Conversation

udoprog
Copy link
Collaborator

@udoprog udoprog commented May 6, 2023

With this change we can now associate metadata with functions other than the ones which use #[rune::function] and #[rune::macro_]. This is important to document raw functions (such as std::io::dbg).

I've also restructured where Module-associated items are exported from, since they're starting to become a lot. Leaving them in compile is too crowded and they fill a specific purpose (such as using ModuleFunction and MacroFunction) which is unrelated to compiling.

image

@udoprog udoprog added the enhancement New feature or request label May 6, 2023
@udoprog udoprog merged commit 2778a1e into main May 6, 2023
@udoprog udoprog deleted the module-rework branch May 6, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant