Skip to content

Commit

Permalink
Updating Fuchsia platform-support documentation
Browse files Browse the repository at this point in the history
Updated for changes in the package server workflow.
  • Loading branch information
claywilkinson committed Oct 28, 2024
1 parent 9f57edf commit 2cc9d58
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/doc/rustc/src/platform-support/fuchsia.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2cc9d58

Please sign in to comment.