We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Debug
Clone
Every single component/datatype definitions that we have specifies the following:
"attr.rust.derive": "Debug, Clone, ...",
We might as well just make Debug & Clone automatically implemented, always.
While we're at it, it might be wise to flag Debug behind a #[cfg(arch)], so that it doesn't pollute the wasm artifact?
#[cfg(arch)]
The text was updated successfully, but these errors were encountered:
mention #2521
58e5f9d
ceecd4c
9dafbcc
1a8edf8
Automatically derive Debug and Clone in Rust backend (#2613)
e76ebd9
Fixes #2521 --- ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested [demo.rerun.io](https://demo.rerun.io/pr/2613) (if applicable) - [PR Build Summary](https://build.rerun.io/pr/2613) - [Docs preview](https://rerun.io/preview/pr%3Acmc%2Fauto_derive_debug_clone/docs) - [Examples preview](https://rerun.io/preview/pr%3Acmc%2Fauto_derive_debug_clone/examples)
Successfully merging a pull request may close this issue.
Every single component/datatype definitions that we have specifies the following:
We might as well just make
Debug
&Clone
automatically implemented, always.While we're at it, it might be wise to flag
Debug
behind a#[cfg(arch)]
, so that it doesn't pollute the wasm artifact?The text was updated successfully, but these errors were encountered: