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

Flag to identify root crate/module in Module type #6251

Open
Thunkar opened this issue Oct 8, 2024 · 0 comments
Open

Flag to identify root crate/module in Module type #6251

Thunkar opened this issue Oct 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Thunkar
Copy link
Contributor

Thunkar commented Oct 8, 2024

Problem

When running a module attribute, it would be useful to know whether that module resides in the root crate or is a dependency

Happy Case

Something like module.get_crate().is_root() exists

Workaround

None

Workaround Description

No response

Additional Context

No response

Project Impact

None

Blocker Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@Thunkar Thunkar added the enhancement New feature or request label Oct 8, 2024
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
Status: 📋 Backlog
Development

No branches or pull requests

1 participant