about summary refs log tree commit diff
path: root/src/doc/rustc
diff options
context:
space:
mode:
authorMatt Hamrick <matthewjhamrick@gmail.com>2022-09-02 13:47:00 -0700
committerGitHub <noreply@github.com>2022-09-02 13:47:00 -0700
commitdd897927155a6f30d122259d47b5fbc6baaae5b3 (patch)
tree3c6b8965a9228cfaac48af04d3501220ab9ab089 /src/doc/rustc
parentb88e510cc886e4c367d90e1c7c36013a4bc0d6ab (diff)
downloadrust-dd897927155a6f30d122259d47b5fbc6baaae5b3.tar.gz
rust-dd897927155a6f30d122259d47b5fbc6baaae5b3.zip
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.
Diffstat (limited to 'src/doc/rustc')
-rw-r--r--src/doc/rustc/src/platform-support/fuchsia.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rustc/src/platform-support/fuchsia.md b/src/doc/rustc/src/platform-support/fuchsia.md
index 53a510f080e..98bfbcee3cf 100644
--- a/src/doc/rustc/src/platform-support/fuchsia.md
+++ b/src/doc/rustc/src/platform-support/fuchsia.md
@@ -414,6 +414,7 @@ Next, we'll build a package manifest as defined by our manifest:
 
 ```sh
 ${SDK_PATH}/tools/${ARCH}/pm \
+    -api-level 8 \
     -o pkg/hello_fuchsia_manifest \
     -m pkg/hello_fuchsia.manifest \
     build \