Ask coding questions

← Back to all posts
How do I configure the language server?

I am writing an OS in rust, and am doing it without libcore because replit can't build libcore. However, rust-analyzer is treating my code as if it is linked against libstd, giving me large amounts of very unhelpful duplicate lang items messages. Setting the config option rust-analyzer.cargo.noSysroot should solve the issue, but I have no idea to set the configuration. Does anybody know how to configure replit's language server?