Skip to content

Commit

Permalink
doc/ci: update to nightly-2024-10-12
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Nov 14, 2024
1 parent cf991e5 commit 9af0044
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
./install.sh
- name: Check test cases
run: cd tests && cargo +nightly-2024-06-30 rap -F -M
run: cd tests && cargo +nightly-2024-10-12 rap -F -M

- name: Check rap
run: cd rap && cargo +nightly-2024-06-30 rap -F -M
run: cd rap && cargo +nightly-2024-10-12 rap -F -M
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ cd RAP

## Usage

Install `nightly-2024-06-30` on which rap is compiled with. This just needs to do once on your machine. If the toolchain exists,
Install `nightly-2024-10-12` on which rap is compiled with. This just needs to do once on your machine. If the toolchain exists,
this will do nothing.

```shell
rustup toolchain install nightly-2024-06-30 --profile minimal --component rustc-dev,rust-src,llvm-tools-preview
rustup toolchain install nightly-2024-10-12 --profile minimal --component rustc-dev,rust-src,llvm-tools-preview
```

Navigate to your Rust project folder containing a `Cargo.toml` file. Then run `cargo-rap` with [toolchain override shorthand syntax].
Expand All @@ -34,7 +34,7 @@ Alternatively, you can switch to the pinned toolchain ahead of time:
```rust
# set up rap's toolchain as default
rustup default nightly-2024-06-30
rustup default nightly-2024-10-12

# run cargo rap without +toolchain syntax any more
cargo rap [rap options] -- [cargo check options]
Expand All @@ -43,7 +43,7 @@ cargo rap [rap options] -- [cargo check options]
Check out supported options with `-help`:
```shell
cargo +nightly-2024-06-30 rap -help
cargo +nightly-2024-10-12 rap -help
```
Environment variables (Values are case insensitive):
Expand All @@ -64,7 +64,7 @@ NOTE: for shallow or deep, rap will enter each member folder to do the check.
### Use-After-Free Detection
Detect bugs such as use-after-free and double free in Rust crates caused by unsafe code.
```shell
cargo +nightly-2024-06-30 rap -uaf
cargo +nightly-2024-10-12 rap -uaf
```
If RAP gets stuck after executing `cargo clean`, try manually downloading metadata dependencies by running `cargo metadata`.
Expand All @@ -87,7 +87,7 @@ The feature is based on our SafeDrop paper, which was published in TOSEM.
Detect memory leakage bugs caused by apis like [ManuallyDrop](https://doc.rust-lang.org/std/mem/struct.ManuallyDrop.html) and [into_raw()](https://doc.rust-lang.org/std/boxed/struct.Box.html#method.into_raw).
```shell
cargo +nightly-2024-06-30 rap -mleak
cargo +nightly-2024-10-12 rap -mleak
```
The feature is based on our rCanary work, which was published in TSE
Expand Down

0 comments on commit 9af0044

Please sign in to comment.