Skip to content

Commit 870a46d

Browse files
authored
Rollup merge of #101343 - diminishedprime:patch-3, r=tmandry
Add -api-level to pm command As of ~Aug 30th, `pm build` commands require an `api-level` flag. This flag should match the fuchsia api-level that's being targeted by the code. Since this is dependent on the version of the SDK that's being used, we may want to change this to something a bit more robust in the future.
2 parents f91ca28 + 056d633 commit 870a46d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/rustc/src/platform-support/fuchsia.md

+1
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ Next, we'll build a package manifest as defined by our manifest:
422422

423423
```sh
424424
${SDK_PATH}/tools/${ARCH}/pm \
425+
-api-level $(${SDK_PATH}/tools/${ARCH}/ffx version -v | grep "api-level" | head -1 | awk -F ' ' '{print $2}') \
425426
-o pkg/hello_fuchsia_manifest \
426427
-m pkg/hello_fuchsia.manifest \
427428
build \

0 commit comments

Comments
 (0)