Skip to content

Fix mode-rust.js load error #2617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GuillaumeGomez
Copy link
Member

I was intrigued at the still failing mode-rust.js load. After some investigation, it's because ours has a hash at the end of its name, which ace.js doesn't know. So instead, I simply force it to load the correct name directly.

I'm not a big fan of this approach tough because this is a modification in minified JS which will need to be done again if we update ace.js. The best solution would be for us to be able to tell ace.js to load the file with a hash, which doesn't seem to be possible. So for now I think we're stuck with it.

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: waiting on a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants