File tree Expand file tree Collapse file tree 1 file changed +27
-25
lines changed
src/lib/crypto/kimchi_bindings/stubs Expand file tree Collapse file tree 1 file changed +27
-25
lines changed Original file line number Diff line number Diff line change 54
54
(env_var KIMCHI_STUBS))
55
55
(locks /cargo-lock) ;; lock for rustup
56
56
(action
57
- (progn
58
- (setenv
59
- RUSTFLAGS
60
- %{read:rustflags.sexp}
61
- (run
62
- cargo
63
- build
64
- -p
65
- kimchi-stubs
66
- --release
67
- --target-dir
68
- %{read:../dune-build-root}/cargo_kimchi_stubs
69
- --offline))
70
- (run
71
- cp
72
- %{read:../dune-build-root}/cargo_kimchi_stubs/release/libkimchi_stubs.a
73
- .))))
57
+ (ignore-stdout
58
+ (progn
59
+ (setenv
60
+ RUSTFLAGS
61
+ %{read:rustflags.sexp}
62
+ (run
63
+ cargo
64
+ build
65
+ -p
66
+ kimchi-stubs
67
+ --release
68
+ --target-dir
69
+ %{read:../dune-build-root}/cargo_kimchi_stubs
70
+ --offline))
71
+ (run
72
+ cp
73
+ %{read:../dune-build-root}/cargo_kimchi_stubs/release/libkimchi_stubs.a
74
+ .)))))
74
75
75
76
;; this is used by nix
76
77
166
167
(env_var KIMCHI_STUBS))
167
168
(locks /cargo-lock) ;; lock for rustup
168
169
(action
169
- (progn
170
- (run rm -rf ./target)
171
- (run rm -f ./Cargo.lock)
172
- (setenv
173
- CARGO_TARGET_DIR
174
- "%{read:../dune-build-root}/cargo_kimchi_bindgen"
175
- (run cargo run %{targets} --offline))
176
- (run ocamlformat -i %{targets}))))
170
+ (ignore-stdout
171
+ (progn
172
+ (run rm -rf ./target)
173
+ (run rm -f ./Cargo.lock)
174
+ (setenv
175
+ CARGO_TARGET_DIR
176
+ "%{read:../dune-build-root}/cargo_kimchi_bindgen"
177
+ (run cargo run %{targets} --offline))
178
+ (run ocamlformat -i %{targets})))))
177
179
178
180
;; this is used by nix
179
181
You can’t perform that action at this time.
0 commit comments