Skip to content

Commit 890a530

Browse files
committed
fmt nighlty all the things
1 parent 05ca70c commit 890a530

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
- name: Check pcguard edges
110110
run: cargo check --features=sancov_pcguard_edges
111111
- name: Format
112-
run: cargo fmt -- --check
112+
run: cargo +nightly fmt -- --check
113113
- name: Cleanup
114114
run: cargo clean
115115
- name: Run clang-format style check for C/C++ programs.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ For bugs, feel free to open issues or contact us directly. Thank you for your su
117117

118118
Even though we will gladly assist you in finishing up your PR, try to
119119
- keep all the crates compiling with *stable* rust (hide the eventual non-stable code under [`cfg`s](https://github.com/AFLplusplus/LibAFL/blob/main/libafl/build.rs#L26))
120-
- run `cargo fmt` on your code before pushing
120+
- run `cargo +nightly fmt` on your code before pushing
121121
- check the output of `cargo clippy --all` or `./clippy.sh`
122122
- run `cargo build --no-default-features` to check for `no_std` compatibility (and possibly add `#[cfg(feature = "std")]`) to hide parts of your code.
123123

libafl_bolts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For bugs, feel free to open issues or contact us directly. Thank you for your su
2828

2929
Even though we will gladly assist you in finishing up your PR, try to
3030
- keep all the crates compiling with *stable* rust (hide the eventual non-stable code under [`cfg`s](https://github.com/AFLplusplus/LibAFL/blob/main/libafl/build.rs#L26))
31-
- run `cargo fmt` on your code before pushing
31+
- run `cargo nightly fmt` on your code before pushing
3232
- check the output of `cargo clippy --all` or `./clippy.sh`
3333
- run `cargo build --no-default-features` to check for `no_std` compatibility (and possibly add `#[cfg(feature = "std")]`) to hide parts of your code.
3434

scripts/build_all_fuzzers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ do
5252
cd "$fuzzer" || exit 1
5353
# Clippy checks
5454
echo "[*] Checking fmt for $fuzzer"
55-
cargo fmt --all || exit 1
55+
cargo +nightly fmt --all || exit 1
5656

5757
if [ -e ./Makefile.toml ]; then
5858
echo "[*] Building $fuzzer"

0 commit comments

Comments
 (0)