about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-10-28 10:18:53 -0700
committerGitHub <noreply@github.com>2024-10-28 10:18:53 -0700
commit89ac69f13af11460240b28fa09e28c16081460ea (patch)
tree01a498f825706c06473eee2fa1291a66feb83b52
parent6fd4a76d3bc881c2d98f54f40a9bdcca1c80e446 (diff)
parent2cc9d58a0e78a6e2c4f5e0f4ab17efb434ecd5e4 (diff)
downloadrust-89ac69f13af11460240b28fa09e28c16081460ea.tar.gz
rust-89ac69f13af11460240b28fa09e28c16081460ea.zip
Rollup merge of #132271 - claywilkinson:master, r=tmandry
Updating Fuchsia platform-support documentation

Updated for changes in the package server workflow.

r? ``@tmandry`` ``@erickt``
-rw-r--r--src/doc/rustc/src/platform-support/fuchsia.md11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/doc/rustc/src/platform-support/fuchsia.md b/src/doc/rustc/src/platform-support/fuchsia.md
index 5643c6a0188..0622f4dd564 100644
--- a/src/doc/rustc/src/platform-support/fuchsia.md
+++ b/src/doc/rustc/src/platform-support/fuchsia.md
@@ -525,14 +525,6 @@ ${SDK_PATH}/tools/${ARCH}/ffx repository publish \
     pkg/repo
 ```
 
-Then we can add the repository to `ffx`'s package server as `hello-fuchsia` using:
-
-```sh
-${SDK_PATH}/tools/${ARCH}/ffx repository add-from-pm \
-    --repository hello-fuchsia \
-    pkg/repo
-```
-
 ## Running a Fuchsia component on an emulator
 
 At this point, we are ready to run our Fuchsia
@@ -590,7 +582,8 @@ Now, start a package repository server to serve our
 package to the emulator:
 
 ```sh
-${SDK_PATH}/tools/${ARCH}/ffx repository server start
+${SDK_PATH}/tools/${ARCH}/ffx repository server start \
+    --background --repository hello-fuchsia --repo-path pkg-repo
 ```
 
 Once the repository server is up and running, register it with the target Fuchsia system running in the emulator: