Skip to content

Commit

Permalink
Rollup merge of rust-lang#132271 - claywilkinson:master, r=tmandry
Browse files Browse the repository at this point in the history
Updating Fuchsia platform-support documentation

Updated for changes in the package server workflow.

r? `````@tmandry````` `````@erickt`````
  • Loading branch information
workingjubilee authored Oct 29, 2024
2 parents 71601f3 + 2cc9d58 commit f788d4c
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 f788d4c

Please sign in to comment.