Skip to content

Commit bc6196b

Browse files
committed
ci: correct way to define build.rs for workspace project, with v-utils
1 parent c753ebc commit bc6196b

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

discretionary_engine/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "discretionary_engine"
33
version = "1.0.0"
44
authors = ["Valera <[email protected]>"]
5+
build = "build.rs"
56
categories = ["finance"]
67
description = "LaTeX of trading"
78
documentation = "https://docs.rs/discretionary_engine"

flake.lock

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

flake.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
rs = v-utils.rs {
3535
inherit pkgs;
3636
cranelift = false; # v-utils config disabled due to aws-lc-rs/mold incompatibility - using local config.toml
37+
build = {
38+
enable = true;
39+
dirs = [ "discretionary_engine" ];
40+
};
3741
};
3842
readme = v-utils.readme-fw { inherit pkgs pname; lastSupportedVersion = "nightly-1.92"; rootDir = ./.; licenses = [{ name = "Blue Oak 1.0.0"; outPath = "LICENSE"; }]; badges = [ "msrv" "crates_io" "docs_rs" "loc" "ci" ]; };
3943
in

0 commit comments

Comments
 (0)