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

Fix not handling debug_assertions in cfg_aliases #5

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

Wumpf
Copy link
Contributor

@Wumpf Wumpf commented Dec 19, 2023

There's a pretty annoying bug in cargo where CARGO_CFG_DEBUG_ASSERTIONS is not set:

Previously, I had to workaround this here: https://github.com/rerun-io/rerun/blob/ac75d50/crates/re_renderer/build.rs#L125

This PR fixes this at the source. Tested this change against re_renderer without above workaround and this makes it work :)

Copy link
Member

@zicklag zicklag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@zicklag zicklag merged commit d6f88fe into katharostech:master Dec 19, 2023
@zicklag
Copy link
Member

zicklag commented Dec 19, 2023

I just pushed version 0.2.0 to crates.io with your updates. 🚀

@Wumpf Wumpf deleted the fix-debug_assertions-check branch December 19, 2023 16:12
@Wumpf Wumpf mentioned this pull request Dec 19, 2023
4 tasks
@Wumpf
Copy link
Contributor Author

Wumpf commented Dec 19, 2023

Thank you so much!!

Wumpf added a commit to rerun-io/rerun that referenced this pull request Dec 19, 2023
### What

@zicklag was super awesome and merged these two PRs + published a new
version instantly <3

* katharostech/cfg_aliases#5
* katharostech/cfg_aliases#4

### 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 the web demo (if applicable):
* Using newly built examples:
[app.rerun.io](https://app.rerun.io/pr/4589/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/4589/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[app.rerun.io](https://app.rerun.io/pr/4589/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG

- [PR Build Summary](https://build.rerun.io/pr/4589)
- [Docs
preview](https://rerun.io/preview/dc1a046880d479c82de3536ebb85e06645208401/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/dc1a046880d479c82de3536ebb85e06645208401/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
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

Successfully merging this pull request may close these issues.

2 participants