Devolutions / Devolutions/CMakeRust

Does not appear to follow target specified in .cargo/config

オープン
#14 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
CMake
スター
175
フォーク
30
PR マージ指標
30日以内にマージされた PR はありません

説明

I have a project that uses Rust for a target other than the one I am building on.
In my case: an embedded target (drastically different architecture).

It seems like the CMake module does not pick up on the target set in `.cargo/config`.

Building the library on its own with just `cargo build` does, of course, apply that option, and it builds successfully as expected.
However, when I set up CMakeRust to build it, it ends up trying to build the lib for `i686-unknown-linux-gnu`.

It looks like the target is inferred in `CMakeCargo.cmake`, with no option to set it as an argument?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。