Skip to content

Commit

Permalink
Rollup merge of #124723 - onkoe:issue-124722-fix, r=workingjubilee
Browse files Browse the repository at this point in the history
Use correct Hermit links in The `rustc` Book

As is, this documentation links to the old Hermit organization, `hermitcore`, which isn't used anymore.

I've updated the links to point to the new organization. This PR also changes the incorrect "rusty loader" link to point to the new `hermit-rs-template` repo.

(fixes #124722)
  • Loading branch information
matthiaskrgr authored May 4, 2024
2 parents 4577b1a + 3abefa1 commit e186740
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/doc/rustc/src/platform-support/hermit.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The [Hermit] unikernel target allows compiling your applications into self-contained, specialized unikernel images that can be run in small virtual machines.

[Hermit]: https://github.com/hermitcore
[Hermit]: https://github.com/hermit-os

Target triplets available so far:

Expand Down Expand Up @@ -56,9 +56,9 @@ Rust does not yet ship pre-compiled artifacts for these targets.
To compile for these targets, you will either need to build Rust with the targets enabled
(see “Building the targets” above), or build your own copy of `core` by using `build-std` or similar.

Building Rust programs can be done by following the tutorial in our starter application [rusty-demo].
As all Hermit programs are unikernels, building a Rust program also requires including the operating system code. A guide for doing so is provided in our starter [hermit-rs-template].

[rusty-demo]: https://github.com/hermitcore/rusty-demo
[hermit-rs-template]: https://github.com/hermit-os/hermit-rs-template

## Testing

Expand All @@ -67,8 +67,8 @@ These images can be chainloaded by Hermit's [loader] or hypervisor ([Uhyve]).
QEMU can be used to boot Hermit binaries using the loader on any architecture.
The targets do not support running the Rust test suite.

[loader]: https://github.com/hermitcore/rusty-loader
[Uhyve]: https://github.com/hermitcore/uhyve
[loader]: https://github.com/hermit-os/loader
[Uhyve]: https://github.com/hermit-os/uhyve

## Cross-compilation toolchains and C code

Expand Down

0 comments on commit e186740

Please sign in to comment.