Skip to content

Commit

Permalink
Rollup merge of #101343 - diminishedprime:patch-3, r=tmandry
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthiaskrgr authored Sep 7, 2022
2 parents f91ca28 + 056d633 commit 870a46d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/doc/rustc/src/platform-support/fuchsia.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ Next, we'll build a package manifest as defined by our manifest:

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

0 comments on commit 870a46d

Please sign in to comment.