Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions infact-packs/rust-std/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ that ships as a rustup component rather than from a checkout of the compiler:
rustup component add rust-docs-json --toolchain nightly
J=$(rustc +nightly --print sysroot)/share/doc/rust/json
V=$(rustc +nightly --version | awk '{print $2}')
mkdir -p infact-packs/rust-std/api
infact catalog "$J/core.json" --package core --version "$V" \
--output "infact-packs/rust-std/api/core-$V.json"
```

The `mkdir` is not decoration. The catalog is not committed, git does not track
an empty directory, and `--output` does not create the path it is given — so on
a fresh checkout `api/` does not exist and the command fails with a bare
`No such file or directory`.

`alloc.json` and `std.json` build the same way and are not kept here, because
nothing yet matches against anything they add. Regenerating one takes two
seconds; carrying it does not.
Expand Down