commit | d61ea3580d4fccdcddd6e6d2b0e4dbfbc1cd8e1c | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Apr 03 19:01:58 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Apr 03 19:01:58 2023 +0000 |
tree | 2f8f2954b7db20d455f8f15f798d81905d2a8930 | |
parent | 53424820436db086374458e994a10a3b3d2ce772 [diff] | |
parent | 0dcd62e8a0a8f6a2028142584aa46bc736114518 [diff] |
Merge "Set OUT_DIR=out with no src_deps."
diff --git a/rust/builder.go b/rust/builder.go index b89e7ad..0aef13d 100644 --- a/rust/builder.go +++ b/rust/builder.go
@@ -208,6 +208,9 @@ outDirPrefix = "" } envVars = append(envVars, "OUT_DIR="+filepath.Join(outDirPrefix, moduleGenDir.String())) + } else { + // TODO(pcc): Change this to "OUT_DIR=" after fixing crates to not rely on this value. + envVars = append(envVars, "OUT_DIR=out") } return envVars