Skip to content

bindgen generates calls to ::std::mem::uninitialized() when use_core is used #488

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

Closed
Jascha-N opened this issue Feb 7, 2017 · 1 comment

Comments

@Jascha-N
Copy link

Jascha-N commented Feb 7, 2017

These should be replaced with calls to ::core::mem::uninitialized().

Offending line: https://github.com/servo/rust-bindgen/blob/f5394b34d6140ec5da2e2e5bce0415e1929724bc/src/codegen/mod.rs#L1598. There seem to be a few more hardcoded uses of ::std in this file.

bors-servo pushed a commit that referenced this issue Feb 7, 2017
codegen: Fix remaining cases of missing core prefix.

Fixes #488

r? @fitzgen
bors-servo pushed a commit that referenced this issue Feb 8, 2017
codegen: Fix remaining cases of missing core prefix.

Fixes #488

r? @fitzgen
@emilio
Copy link
Contributor

emilio commented Feb 8, 2017

Thanks for reporting this!

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

No branches or pull requests

2 participants