-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Allow not emitting BundleFromComponents
with Bundle
derive macro
#19249
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
base: main
Are you sure you want to change the base?
Allow not emitting BundleFromComponents
with Bundle
derive macro
#19249
Conversation
Agreed that this needs docs. Maybe on the Bundle trait? |
@nfagerlund would this solve your issue? |
@alice-i-cecile I've added documentation! I looked at the miri error, and it didn't seem related? It said something about: "fatal error: cross-interpreting doctests is not currently supported by Miri." So I am not sure what that means |
a8063d1
to
592934d
Compare
Once #19253 is merged you should get green builds after a rebase |
Signed-off-by: Marcel Müller <neikos@neikos.email>
Signed-off-by: Marcel Müller <neikos@neikos.email>
Signed-off-by: Marcel Müller <neikos@neikos.email>
Signed-off-by: Marcel Müller <neikos@neikos.email>
592934d
to
e7aeb40
Compare
/// } | ||
/// ``` | ||
/// | ||
/// Some fields may be bundles that do not implement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a bit more context about why this might occur.
Objective
Fixes #19136
Solution
BundleFromComponents
Testing
Yes, a new test was added.
Since
BundleFromComponents
is unsafe I made extra sure that I did not misunderstand its purpose. As far as I can tell, not implementing it is ok.Nope
I don't think the platform is relevant
One thing I am not sure about is how to document this? I'll gladly add it