Skip to content

Error compiling for armv7-apple-ios #27263

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
SirVer opened this issue Jul 24, 2015 · 7 comments
Closed

Error compiling for armv7-apple-ios #27263

SirVer opened this issue Jul 24, 2015 · 7 comments

Comments

@SirVer
Copy link

SirVer commented Jul 24, 2015

This is 607f74d.

rustc: x86_64-apple-darwin/stage2/lib/rustlib/armv7-apple-ios/lib/libstd
warning: dropping unsupported crate type `dylib` for target `armv7-apple-ios`
../src/libstd/rand/os.rs:215:43: 215:52 error: found zero-size struct in foreign module, consider adding a member to this struct, #[deny(improper_ctypes)] on by default
../src/libstd/rand/os.rs:215         fn SecRandomCopyBytes(rnd: *const SecRandom,
                                                                       ^~~~~~~~~
error: aborting due to previous error
make: *** [x86_64-apple-darwin/stage2/lib/rustlib/armv7-apple-ios/lib/stamp.std] Error 101
[2] sirver@raph(git)-[master] > mvim ../src/libstd/rand/os.rs
@SirVer
Copy link
Author

SirVer commented Jul 24, 2015

/cc @tamird Tamir, you fixed #26939 so competently, maybe you have an idea about this as well.

@SirVer
Copy link
Author

SirVer commented Jul 24, 2015

Probably related to 6fa17b4?

@tamird
Copy link
Contributor

tamird commented Jul 24, 2015

Ah, this is fallout from the new improper ctypes lint. I'll take a look in
a bit.
On Jul 24, 2015 2:16 PM, "Holger Rapp" notifications@github.com wrote:

/cc @tamird https://github.com/tamird Tamir, you fixed #26939
#26939 so competently, maybe
you have an idea about this as well.


Reply to this email directly or view it on GitHub
#27263 (comment).

@SirVer
Copy link
Author

SirVer commented Jul 24, 2015

@tamird Hero of the clueless ios people :).

@tamird
Copy link
Contributor

tamird commented Jul 24, 2015

#27267

Manishearth added a commit to Manishearth/rust that referenced this issue Jul 24, 2015
@SirVer
Copy link
Author

SirVer commented Jul 27, 2015

@tamird Thanks Tamir!

@tamird
Copy link
Contributor

tamird commented Jul 27, 2015

👋

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants