-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Update Rust toolchain to 1.46.0 #2323
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
# this contains the frequency while on AMD it does not. | ||
# Checkout the cpuid crate. In the future other | ||
# differences may appear. | ||
COVERAGE_DICT = {"Intel": 85.25, "AMD": 84.50, "ARM": 82.72} | ||
COVERAGE_DICT = {"Intel": 85.04, "AMD": 84.27, "ARM": 82.98} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. x86 coverage dropping while the ARM one is rising. Maybe they are trending towards the mean value? |
||
PROC_MODEL = proc.proc_type() | ||
|
||
COVERAGE_MAX_DELTA = 0.05 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,7 @@ FROM ubuntu:18.04 | |
# The Rust toolchain layer will get updated most frequently, but we could keep the system | ||
# dependencies layer intact for much longer. | ||
|
||
ARG RUST_TOOLCHAIN="1.43.1" | ||
ARG RUST_TOOLCHAIN_AUDIT="1.47.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this change mean auditing will always be done with the latest stable version (instead of the previously hard-coded value)? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yass |
||
ARG RUST_TOOLCHAIN="1.46.0" | ||
ARG TINI_VERSION_TAG="v0.18.0" | ||
ARG TMP_BUILD_DIR=/tmp/build | ||
ARG FIRECRACKER_SRC_DIR="/firecracker" | ||
|
@@ -78,10 +77,10 @@ RUN mkdir "$TMP_BUILD_DIR" \ | |
&& rustup target add x86_64-unknown-linux-musl \ | ||
&& rustup component add rustfmt \ | ||
&& rustup component add clippy-preview \ | ||
&& rustup install "$RUST_TOOLCHAIN_AUDIT" \ | ||
&& rustup install "stable" \ | ||
&& cd "$TMP_BUILD_DIR" \ | ||
&& cargo install cargo-kcov \ | ||
&& cargo +"$RUST_TOOLCHAIN_AUDIT" install cargo-audit \ | ||
&& cargo +"stable" install cargo-audit \ | ||
&& cargo kcov --print-install-kcov-sh | sh \ | ||
&& rm -rf "$CARGO_HOME/registry" \ | ||
&& ln -s "$CARGO_REGISTRY_DIR" "$CARGO_HOME/registry" \ | ||
|
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.
Good catch!