Skip to content

Removal of rustc_codegen_utils breaks mdbook builds #628

Closed

Description

@chrissimpkins

It looks like the merge of rust-lang/rust#69965 led to mdbook build fails on Travis: https://travis-ci.com/github/rust-lang/rustc-dev-guide/builds/154502721#L342

It is due to this link to the librustc_codegen_utils docs in appendix/stupid-stats.md:

> NOTE: `librustc_trans` and `librustc_back` no longer exist, and we don't
> translate AST or HIR directly to LLVM IR anymore.  Instead, see
> [`librustc_codegen_llvm`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/index.html)
> and [`librustc_codegen_utils`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_utils/index.html).

The https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_utils/index.html URL lands on a 404 page. Should it be removed or is there an updated location that still pertains here?

Activity

  1. mark-i-m commented on Mar 22, 2020

    @mark-i-m
    Contributor

    @chrissimpkins librustc_codgen_utils has been dissolved into a bunch of places. It probably makes more sense to point to librustc_codegen_ssa and librustc_codegen_llvm.

  2. chrissimpkins commented on Mar 22, 2020

    @chrissimpkins
    ContributorAuthor

    I'll push a PR with the updates shortly. Thanks Mark.

  3. chrissimpkins commented on Mar 22, 2020

    @chrissimpkins
    ContributorAuthor

    #630 should fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions