Skip to content

mode-rust.js is not found #2700

Closed
Closed
@traviscross

Description

@traviscross

Problem

When loading a page with Rust editable code blocks, such as the "Rust Codeblocks" page in the test book, the browser throws a 404 on trying to access /mode-rust.js. It's hitting this because the script tag isn't using the hashed version of the file name.

There's some strange interaction with the ace editor going on here. The script tag that triggers this 404 is inserted dynamically.

This was introduced, I'm guessing, by #1368. A bisection points at commit 74200f7, but I'm guessing that's just because it fixed another issue that may have been masking this one.

Is this why the move-between-pages.goml test had to keep fail-on-request-error disabled in #2552?

cc @notriddle @GuillaumeGomez @ehuss

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version


Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: A bug, incorrect or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions