mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
Uprev rust toolchain to 1.56.1
Two new clippy fixes are affecting us, but will be easy to fix in a follow-up. Fixed the dev-container so we can create a new version with the new toolchain. BUG=b:210037151 TEST=Kokoro Change-Id: I9ac4d84aff72b1ee5219d6dab0a88667ca6c5951 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3328954 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com>
This commit is contained in:
parent
cba95dba9c
commit
0fcc7ace5a
5 changed files with 43 additions and 8 deletions
|
@ -8,6 +8,9 @@ rustflags = [
|
|||
# "-Dwarnings",
|
||||
|
||||
# TODO(crbug/908640): To be resolved.
|
||||
"-Aclippy::needless_return",
|
||||
"-Aclippy::needless_doctest_main",
|
||||
"-Aclippy::blocks_in_if_conditions",
|
||||
"-Aclippy::missing_safety_doc", # 26 errors
|
||||
|
||||
# False positives affecting WlVfd @ `devices/src/virtio/wl.rs`.
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.55.0
|
||||
1.56.1
|
||||
|
|
|
@ -1 +1 @@
|
|||
r0002
|
||||
r0003
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# found in the LICENSE file.
|
||||
set -ex
|
||||
|
||||
sudo apt-get install --yes --no-install-recommends \
|
||||
sudo apt-get install --yes --no-install-recommends \
|
||||
g++-aarch64-linux-gnu \
|
||||
gcc-aarch64-linux-gnu \
|
||||
ipxe-qemu \
|
||||
|
@ -24,5 +24,21 @@ rustup target add aarch64-unknown-linux-gnu
|
|||
|
||||
# Generate a cross file for meson to compile for aarch64
|
||||
sudo mkdir -p -m 0755 /usr/local/share/meson/cross
|
||||
sudo /usr/share/meson/debcrossgen --arch arm64 \
|
||||
-o /usr/local/share/meson/cross/aarch64
|
||||
sudo tee /usr/local/share/meson/cross/aarch64 >/dev/null <<EOF
|
||||
[binaries]
|
||||
c = '/usr/bin/aarch64-linux-gnu-gcc'
|
||||
cpp = '/usr/bin/aarch64-linux-gnu-g++'
|
||||
ar = '/usr/bin/aarch64-linux-gnu-ar'
|
||||
strip = '/usr/bin/aarch64-linux-gnu-strip'
|
||||
objcopy = '/usr/bin/aarch64-linux-gnu-objcopy'
|
||||
ld= '/usr/bin/aarch64-linux-gnu-ld'
|
||||
pkgconfig = '/usr/bin/aarch64-linux-gnu-pkg-config'
|
||||
|
||||
[properties]
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'aarch64'
|
||||
cpu = 'arm64'
|
||||
endian = 'little'
|
||||
EOF
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# found in the LICENSE file.
|
||||
set -ex
|
||||
|
||||
sudo apt-get install --yes --no-install-recommends \
|
||||
sudo apt-get install --yes --no-install-recommends \
|
||||
g++-arm-linux-gnueabihf \
|
||||
gcc-arm-linux-gnueabihf \
|
||||
libc-dev:armhf \
|
||||
|
@ -20,5 +20,21 @@ rustup target add armv7-unknown-linux-gnueabihf
|
|||
|
||||
# Generate a cross file for meson to compile for armhf
|
||||
sudo mkdir -p -m 0755 /usr/local/share/meson/cross
|
||||
sudo /usr/share/meson/debcrossgen --arch armhf \
|
||||
-o /usr/local/share/meson/cross/armhf
|
||||
sudo tee /usr/local/share/meson/cross/armhf >/dev/null <<EOF
|
||||
[binaries]
|
||||
c = '/usr/bin/arm-linux-gnueabihf-gcc'
|
||||
cpp = '/usr/bin/arm-linux-gnueabihf-g++'
|
||||
ar = '/usr/bin/arm-linux-gnueabihf-ar'
|
||||
strip = '/usr/bin/arm-linux-gnueabihf-strip'
|
||||
objcopy = '/usr/bin/arm-linux-gnueabihf-objcopy'
|
||||
ld= '/usr/bin/arm-linux-gnueabihf-ld'
|
||||
pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'
|
||||
|
||||
[properties]
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'arm'
|
||||
cpu = 'arm7hlf'
|
||||
endian = 'little'
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue