Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

first-render-document tutorial may not run on macOS after a plain cargo build

Open Beginner friendly
#1,618 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
macos, rust

Research direction

Start with docs/site/src/content/docs/tutorials/first-render-document.mdx and inspect scripts/cargo-runtime-library-path.sh. On macOS, test whether target/release/registry-render runs after the plain Cargo build; if not, follow the helper-based build approach used by the Discovery tutorial. Done means the tutorial works on macOS and Linux, or records that registry-render does not need the helper.

Written by the indexing model from the issue text.

Description

area:docs area:render bug criticality:p3 triage:needs-implementation

Problem

docs/site/src/content/docs/tutorials/first-render-document.mdx tells the reader to build with a plain cargo build --release --locked -p registry-render and then run the binary directly. On macOS, a Cargo-built binary that links AWS-LC FIPS cannot run outside Cargo. The library stays in Cargo's build directory, and the binary fails with dyld: Library not loaded: @rpath/libaws_lc_fips_0_14_2_crypto.dylib. #1612 fixed the same problem on the Discovery tutorial.

Unverified: whether registry-render links AWS-LC FIPS at all. If it does not, this issue can be closed.

Proposal

Check on macOS whether target/release/registry-render runs from a shell after a plain build. If it doesn't, build the way the Discovery tutorial now does:

. scripts/cargo-runtime-library-path.sh
registry_cargo_build "$PWD" --locked --release -p registry-render

registry_cargo_build is plain cargo build on Linux and exports DYLD_FALLBACK_LIBRARY_PATH for the current shell on macOS. Every command that runs the binary must stay in that shell.

Done when

The tutorial's build step works as written on macOS and Linux, or this issue records that registry-render does not need the helper.

Dominant language
Rust
Stars
2
Forks
0
Avg merge
8h 10m
Merged PRs (30d)
222

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from registrystack/registry-stack

All issues in registrystack/registry-stack

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.