summaryrefslogtreecommitdiff
path: root/src/parse/root.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/root.cpp')
-rw-r--r--src/parse/root.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/parse/root.cpp b/src/parse/root.cpp
index f7d82987..5ba66dbc 100644
--- a/src/parse/root.cpp
+++ b/src/parse/root.cpp
@@ -1715,18 +1715,6 @@ AST::Crate Parse_Crate(::std::string mainfile)
// TODO:
}
}
-
- if( crate.m_load_std )
- {
- // Load the standard library (add 'extern crate std;')
- crate.load_extern_crate("std");
- rootmod.add_ext_crate("std", "std");
- rootmod.add_macro_import(crate, "std", "");
- // Prelude imports are handled in Parse_ModRoot
- }
-
- // Include the std if the 'no_std' attribute was absent
- // - First need to load the std macros, then can import the prelude
Parse_ModRoot(lex, crate, rootmod, NULL, mainpath);