-
Notifications
You must be signed in to change notification settings - Fork 3
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/cross compile #9
Conversation
x86_64/linux$ cargo build --target=arm-unknown-linux-gnueabihf .. /usr/include/x86_64-linux-gnu/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found /usr/include/x86_64-linux-gnu/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found, err: true thread 'main' panicked at 'Unable to generate bindings: ()', src/libcore/result.rs:1188:5 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
bindgen seemed to generate #[derive(Debug)] for padding types even if derive_debug is not specified.
s|TARGET_ARCH|TARGET|
a28968d
to
b47fd20
Compare
b47fd20
to
aa1ced9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
よさそう。
念のため確認ですがrust 1.36.0を使っているのはminimum supported rust versionという理解であってますか?
特にこのバージョンに指定する意味は無いですが、x86版のCIで使ってたのでarm版も合わせました。 |
なら、stable使うようにしませんか? |
stableだとどれでビルド出来(る|した)のか分からなくないですか? |
では、stableとバージョン固定両方でテストしませんか? |
うううう。circleciの提供してるイメージは全部バージョン固定。。。 |
c78eb3b
to
2373fc9
Compare
やりました @KeenS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
しょっぱいけどやむなし
arm向けへのクロスビルドに失敗するようになっているので修正します。
ついでに CI ジョブも追加(closes #4)