mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 18:38:01 +00:00
3a6ec148d6
Move rust-vmm/vhost code from chromiumos's third_party directory to crosvm's one. Note that we have crrev.com/c/3269863 for license files in Chrome OS ebuild. Changes: * Copied vmm_vhost files at "7c95b4a2 rust-vmm/vhost: switch to upstream tempfile", whose latest upstream commit is "488b3adc fix warning: unaligned_references". * Remove [patch.crates-io] section from its Cargo.toml. * Add attributes to skip `clippy::bool_assert_comparison` and `clippy::needless_borrow`, which will be fixed in following CLs. * Update crosvm's Cargo.toml and tools/chromeos/setup_cargo BUG=b:205511695 TEST=tools/chromeos/setup_cargo && cargo build Change-Id: Icee201b39ff1d352df59469a6c8668fc7cb92ab9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3267912 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Dennis Kempin <denniskempin@google.com>
5 lines
285 B
Text
5 lines
285 B
Text
# This workaround is needed because the linker is unable to find __addtf3,
|
|
# __multf3 and __subtf3.
|
|
# Related issue: https://github.com/rust-lang/compiler-builtins/issues/201
|
|
[target.aarch64-unknown-linux-musl]
|
|
rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc"]
|