Skip to content

Commit

Permalink
pw_build: Fix Undefined identifier
Browse files Browse the repository at this point in the history
The `output_name` was removed in http://pwrev.dev/230012. This caused
bootstrape to fail when `pw_rust_static_library` is used.

Change-Id: I12c41d2faa888e451e826e84ecbc592291dd3940
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/232371
Docs-Not-Needed: Min Xu <[email protected]>
Pigweed-Auto-Submit: Min Xu <[email protected]>
Reviewed-by: Jiacheng Lu <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Lint: Lint 🤖 <[email protected]>
Reviewed-by: Erik Gilling <[email protected]>
Reviewed-by: Bjorn Mellem <[email protected]>
  • Loading branch information
minxm authored and CQ Bot Account committed Sep 11, 2024
1 parent 703588e commit 3919d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pw_build/rust_staticlib.gni
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ template("pw_rust_static_library") {
crate_name = string_replace(crate_name, "-", "_")
output_dir = "${target_out_dir}/lib"
add_global_link_deps = true
libs = [ "${output_name}" ]
libs = [ "${crate_name}" ]
}
}

0 comments on commit 3919d96

Please sign in to comment.