Skip to content

Commit

Permalink
set vng cpus to 8 for rust tests
Browse files Browse the repository at this point in the history
set vng cpus to 8 for rust tests (for stability in testing),
update relevant doc test.
  • Loading branch information
likewhatevs committed Sep 6, 2024
1 parent 082bccb commit eaa636d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/caching-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,4 @@ jobs:
prefix-key: "1"
- run: cargo build --manifest-path rust/Cargo.toml
- run: cargo test --manifest-path rust/Cargo.toml --no-run
- run: vng -m10G --force-9p -r linux/arch/x86/boot/bzImage --net user --exec "cargo test --manifest-path rust/Cargo.toml"

- run: vng -v -m10G -c8 --force-9p -r linux/arch/x86/boot/bzImage --net user -- cargo test --manifest-path rust/Cargo.toml
3 changes: 1 addition & 2 deletions rust/scx_utils/src/cpumask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
//!```
//! use scx_utils::Cpumask;
//! let all_zeroes = Cpumask::new();
//! let str = String::from("0xff00ff00");
//! let from_str_mask = Cpumask::from_str(&str);
//! let from_str_mask = Cpumask::from_str(&String::from("0xf0"));
//!```
//!
//! The hexadecimal string also supports the special values "none" and "all",
Expand Down

0 comments on commit eaa636d

Please sign in to comment.