diff options
| author | Kalle Lindström <karl.lindstrom@mullvad.net> | 2025-01-23 16:10:17 +0100 |
|---|---|---|
| committer | Kalle Lindström <karl.lindstrom@mullvad.net> | 2025-01-23 16:10:17 +0100 |
| commit | 0b8a1ceb8008efa44b0cbd9a4ef3a46c2cc52668 (patch) | |
| tree | 6a58479f2c1c6ea13289c544507be4312d394dc3 | |
| parent | 43eeb65c77d8daa85f51f1e1495ac45a4338e611 (diff) | |
| download | mullvadvpn-create-rustc-path-prefix-remap-crate.tar.xz mullvadvpn-create-rustc-path-prefix-remap-crate.zip | |
Fix crate cargo toml configcreate-rustc-path-prefix-remap-crate
| -rw-r--r-- | Cargo.lock | 2 | ||||
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | android/buildSrc/src/main/kotlin/Utils.kt | 2 | ||||
| -rw-r--r-- | remap-path-prefix/Cargo.toml | 16 |
4 files changed, 15 insertions, 6 deletions
diff --git a/Cargo.lock b/Cargo.lock index 819596ac1d..2413419a49 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3771,7 +3771,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "remap-path-prefix" -version = "0.1.0" +version = "0.0.0" dependencies = [ "home", ] diff --git a/Cargo.toml b/Cargo.toml index d6222f120c..f34e3dc96e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,7 +54,6 @@ default-members = [ "mullvad-cli", "mullvad-daemon", "mullvad-version", - "remap-path-prefix", ] # Keep all lints in sync with `test/Cargo.toml` diff --git a/android/buildSrc/src/main/kotlin/Utils.kt b/android/buildSrc/src/main/kotlin/Utils.kt index d74b59504c..22f02724a1 100644 --- a/android/buildSrc/src/main/kotlin/Utils.kt +++ b/android/buildSrc/src/main/kotlin/Utils.kt @@ -14,7 +14,7 @@ fun Project.generateVersionName(localProperties: Properties): String { fun Project.generateRemapArguments(): String { return providers.exec { - commandLine("cargo", "run", "-q", "--bin", "remap-path-prefix") + commandLine("cargo", "run", "-p", "remap-path-prefix", "-q") }.standardOutput.asText.get().trim() } diff --git a/remap-path-prefix/Cargo.toml b/remap-path-prefix/Cargo.toml index d7d5d3917d..87b82fce00 100644 --- a/remap-path-prefix/Cargo.toml +++ b/remap-path-prefix/Cargo.toml @@ -1,7 +1,17 @@ [package] name = "remap-path-prefix" -version = "0.1.0" -edition = "2021" +description = """ +Computes the rustc flag `--remap-path-prefix` arguments that are needed +to make the build artifacts reproducible. +""" +authors.workspace = true +repository.workspace = true +license.workspace = true +edition.workspace = true +rust-version.workspace = true + +[lints] +workspace = true [dependencies] -home = "0.5.11"
\ No newline at end of file +home = "0.5.11" |
