Skip to content

Commit ec53abf

Browse files
authored
fix taplo [email protected] & resolve compilation errors with --locked (#1186)
This PR installs taplo-cli with the tip described [here](https://taplo.tamasfe.dev/cli/installation/cargo.html). Namely you should use `--locked` if you are getting compliation errors (and we were). I also chose to lock taplo to v0.8.1. It would be trivial to switch this to take the latest.
1 parent a5d942a commit ec53abf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Makefile.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,9 @@ args = ["update", "stable"]
131131

132132
[tasks.cargo-make-deps-update]
133133
dependencies = ["rustup-update"]
134-
install_crate = { crate_name = "cargo-update", binary = "cargo-install-update", test_arg = [
135-
"-V",
136-
], min_version = "7.0.1" }
137-
command = "cargo"
138-
args = ["install-update", "taplo-cli", "cargo-make"]
134+
script = '''
135+
cargo install [email protected] --locked
136+
'''
139137

140138
[tasks.generate-common-constants-rs]
141139
script_runner = "@duckscript"

0 commit comments

Comments
 (0)