内容へ移動
八寿のナレッジベース
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
it技術:rust
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== Rust ====== ===== メモ ===== ABI はアプリケーションバイナリインタフェースの略で、 バイナリレベルでのインターフェースのことをいいます。\\ https://rinatz.github.io/cpp-book/ch11-05-library-updating-and-compatibility/ ==== OpenSSLのビルドエラー ==== Windows版ではエラーはでないが、arm用にクロスビルドしようとするとエラーがでる。\\ cargo build --target armv7-unknown-linux-gnueabihf note: vcpkg did not find openssl: the vcpkg-rs Vcpkg build helper can only find libraries built for the MSVC ABI. 解決できず。 === 対応 === OpenSSLの代わりにRustlsを使う\\ https://blog.mahoroi.com/posts/2020/07/rust-cross-compile-for-raspi-openssl/ <code text Cargo.toml> [dependencies] reqwest = { version = "0.10", default-features = false, features = ["blocking", "json", "rustls-tls"] } tokio = { version = "0.2", features = ["full"] } </code> === ringのビルドエラー === OpenSSLエラーはなくなったが、「error: failed to run custom build command for `ring v0.16.20`」が出るようになった。 reqwestをやめてureqに変更する。\\ 結局、ureqでも`ring v0.16.20`エラー
it技術/rust.txt
· 最終更新: 2022/05/24 18:17 by
yajuadmin
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ