Skip to content
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

Upgrade to recent nightly channel #169

Merged
merged 5 commits into from
Dec 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/kvm_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Build dev profile
run: cargo build --package rusty_demo
- name: Install uhyve
run: cargo install uhyve --locked
run: cargo +nightly install --git https://github.com/hermitcore/uhyve.git --locked uhyve
- name: Check KVM availability
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ test:uhyve:
script:
- lscpu
- kvm-ok
- cargo install uhyve --locked
- cargo +nightly install --git https://github.com/hermitcore/uhyve.git --locked uhyve
- uhyve -v -c 1 target/x86_64-unknown-hermit/debug/rusty_demo
- uhyve -v -c 2 target/x86_64-unknown-hermit/debug/rusty_demo
- uhyve -v -c 1 target/x86_64-unknown-hermit/release/rusty_demo
Expand Down
6 changes: 1 addition & 5 deletions examples/demo/src/tests/matmul.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,7 @@ fn matmul_strassen(a: &[f32], b: &[f32], dest: &mut [f32]) {
}

fn raw_buffer(n: usize) -> Vec<f32> {
let mut tmp = Vec::with_capacity(n);
unsafe {
tmp.set_len(n);
}
tmp
vec![0.0; n]
}

fn strassen_add2_mul(a1: &[f32], a2: &[f32], b1: &[f32], b2: &[f32]) -> Vec<f32> {
Expand Down
2 changes: 1 addition & 1 deletion libhermit-rs
2 changes: 1 addition & 1 deletion loader
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2021-09-29"
channel = "nightly-2021-12-04"
components = [
"rust-src",
"llvm-tools-preview",
Expand Down