diff options
author | Daniel Wagner-Hall <dwagnerhall@apple.com> | 2024-05-16 19:54:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 18:54:16 +0000 |
commit | 0d8d3e02b05ff7ad5755367d719f6e3abbdb459c (patch) | |
tree | 9882405c737c39c6a2073cc84e40c7cae2e3b9dd | |
parent | 3bd4eeb9f1e3b69de95ddeb138e53eb4e71d2e27 (diff) | |
download | bazelbuild-rules_rust-upstream-main.tar.gz |
Fixup from #2657 (#2659)upstream/0.45.1upstream-main
-rw-r--r-- | MODULE.bazel | 2 | ||||
-rw-r--r-- | crate_universe/private/generate_utils.bzl | 2 | ||||
-rw-r--r-- | version.bzl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/MODULE.bazel b/MODULE.bazel index 53c070ae..89307da8 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -2,7 +2,7 @@ module( name = "rules_rust", - version = "0.45.0", + version = "0.45.1", ) bazel_dep( diff --git a/crate_universe/private/generate_utils.bzl b/crate_universe/private/generate_utils.bzl index f1f593dd..a6c88dd8 100644 --- a/crate_universe/private/generate_utils.bzl +++ b/crate_universe/private/generate_utils.bzl @@ -402,7 +402,7 @@ def determine_repin(repository_ctx, generator, lockfile_path, config, splicing_m # If it was determined repinning should occur but there was no # flag indicating repinning was requested, an error is raised # since repinning should be an explicit action - if result.stdout.strip().lower() == "repin": + if result.return_code: fail(("\n".join([ result.stderr, ( diff --git a/version.bzl b/version.bzl index 943a8efb..a04955ed 100644 --- a/version.bzl +++ b/version.bzl @@ -1,3 +1,3 @@ """The version of rules_rust.""" -VERSION = "0.45.0" +VERSION = "0.45.1" |