Skip to content

Commit f6415cc

Browse files
committed
Upgrade insta and add insta-ructions
1 parent a92b26b commit f6415cc

File tree

3 files changed

+37
-123
lines changed

3 files changed

+37
-123
lines changed

Cargo.lock

Lines changed: 22 additions & 122 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/libvamc_llvm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ vamc_parser = { path = "../libvamc_parser" }
1515
inkwell = { version = "0.1.0", features = ["llvm10-0"] }
1616

1717
[dev-dependencies]
18-
insta = "0.16.1"
18+
insta = "1.28.0"

src/libvamc_llvm/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,17 @@ llvmenv global 10.0.0
6565

6666
You may also choose to do this locally with `llvmenv local <entry>`. The
6767
generated `.llvmenv` file is in `.gitignore`.
68+
69+
## Updating snapshots
70+
71+
Install `cargo-insta`:
72+
73+
```sh
74+
cargo install cargo-insta
75+
```
76+
77+
And run:
78+
79+
```sh
80+
cargo insta review
81+
```

0 commit comments

Comments
 (0)