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

Rust: fix a name conflict when building with "no_std" feature #7268

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

fjarri
Copy link
Contributor

@fjarri fjarri commented Apr 23, 2022

thiserror was ambiguous when no_std is enabled, leading to a build failure. This PR resolves the ambiguity by gating the thiserror v1 import.

@google-cla
Copy link

google-cla bot commented Apr 23, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.

@github-actions github-actions bot added the rust label Apr 23, 2022
@CasperN
Copy link
Collaborator

CasperN commented Apr 25, 2022

LGTM, can you also bump the patch version in Cargo.toml?

@CasperN CasperN merged commit 76d3cca into google:master Apr 25, 2022
@CasperN
Copy link
Collaborator

CasperN commented Apr 25, 2022

Published

@fjarri fjarri deleted the fix-no-std-build branch April 25, 2022 21:59
sssooonnnggg pushed a commit to sssooonnnggg/flatbuffers that referenced this pull request Aug 8, 2022
…#7268)

* Fix a name conflict when building with "no_std" feature

* Bump patch version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants