diff --git a/crates/rue-compiler/src/compiler/context.rs b/crates/rue-compiler/src/compiler/context.rs index 1b27a9a..d81e92c 100644 --- a/crates/rue-compiler/src/compiler/context.rs +++ b/crates/rue-compiler/src/compiler/context.rs @@ -32,7 +32,7 @@ pub fn setup_compiler(db: &mut Database) -> CompilerContext<'_> { } pub fn load_standard_library(ctx: &mut CompilerContext<'_>) -> SymbolId { - let (root, parser_errors) = parse(include_str!("../../../../std/stdlib.rue")); + let (root, parser_errors) = parse(include_str!("../../stdlib.rue")); assert_eq!(parser_errors, Vec::new()); let (module_id, declarations) = ctx.compiler.declare_root(&root); diff --git a/std/stdlib.rue b/crates/rue-compiler/stdlib.rue similarity index 100% rename from std/stdlib.rue rename to crates/rue-compiler/stdlib.rue