Skip to content

Commit

Permalink
Unrolled build for rust-lang#132271
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#132271 - claywilkinson:master, r=tmandry

Updating Fuchsia platform-support documentation

Updated for changes in the package server workflow.

r? ``@tmandry`` ``@erickt``
  • Loading branch information
rust-timer authored Oct 29, 2024
2 parents a9d1762 + 2cc9d58 commit 4cc7631
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 4cc7631

Please sign in to comment.