Skip to content

Commit 56192e2

Browse files
committed
fix some in README
1 parent 34bde3b commit 56192e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ Let Thrust verify that the program is correct. Here, we use `cargo run` in the T
3636
```console
3737
$ cargo run -- -Adead_code -C debug-assertions=false gcd.rs && echo 'safe'
3838
Compiling thrust v0.1.0 (/home/coord_e/rust-refinement/thrust)
39-
Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.23s
40-
Running `target/debug/thrust-rustc -C debug-assertions=false -Adead_code gcd.rs`
39+
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
40+
Running `target/debug/thrust-rustc -Adead_code -C debug-assertions=false gcd.rs`
4141
error: verification error: Unsat
4242

43-
error: aborting due to 1 previous error; 2 warnings emitted
43+
error: aborting due to 1 previous error
4444
```
4545

4646
Thrust says the program is not safe (possible to panic). In fact, we have a bug in our `gcd` function:
@@ -59,8 +59,8 @@ Now Thrust verifies the program is actually safe.
5959

6060
```console
6161
$ cargo run -- -Adead_code -C debug-assertions=false gcd_fixed.rs && echo 'safe'
62-
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
63-
Running `target/debug/thrust-rustc -C debug-assertions=false -Adead_code gcd_fixed.rs`
62+
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
63+
Running `target/debug/thrust-rustc -Adead_code -C debug-assertions=false gcd.rs`
6464
safe
6565
```
6666

0 commit comments

Comments
 (0)