mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 00:26:57 +00:00
move AstGen to std.zig.AstGen
Part of an effort to ship more of the compiler in source form.
This commit is contained in:
parent
a2e87aba66
commit
b116063e02
@ -505,6 +505,7 @@ set(ZIG_STAGE2_SOURCES
|
||||
"${CMAKE_SOURCE_DIR}/lib/std/unicode.zig"
|
||||
"${CMAKE_SOURCE_DIR}/lib/std/zig.zig"
|
||||
"${CMAKE_SOURCE_DIR}/lib/std/zig/Ast.zig"
|
||||
"${CMAKE_SOURCE_DIR}/lib/std/zig/AstGen.zig"
|
||||
"${CMAKE_SOURCE_DIR}/lib/std/zig/AstRlAnnotate.zig"
|
||||
"${CMAKE_SOURCE_DIR}/lib/std/zig/c_builtins.zig"
|
||||
"${CMAKE_SOURCE_DIR}/lib/std/zig/Parse.zig"
|
||||
@ -517,7 +518,6 @@ set(ZIG_STAGE2_SOURCES
|
||||
"${CMAKE_SOURCE_DIR}/lib/std/zig/tokenizer.zig"
|
||||
"${CMAKE_SOURCE_DIR}/lib/std/zig/Zir.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/Air.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/AstGen.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/Compilation.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/Compilation/Config.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/Liveness.zig"
|
||||
|
@ -10,6 +10,7 @@ pub const string_literal = @import("zig/string_literal.zig");
|
||||
pub const number_literal = @import("zig/number_literal.zig");
|
||||
pub const primitives = @import("zig/primitives.zig");
|
||||
pub const Ast = @import("zig/Ast.zig");
|
||||
pub const AstGen = @import("zig/AstGen.zig");
|
||||
pub const Zir = @import("zig/Zir.zig");
|
||||
pub const system = @import("zig/system.zig");
|
||||
/// Deprecated: use `std.Target.Query`.
|
||||
|
@ -296,7 +296,7 @@ const Allocator = std.mem.Allocator;
|
||||
const build_options = @import("build_options");
|
||||
const Module = @import("Package/Module.zig");
|
||||
const assert = std.debug.assert;
|
||||
const AstGen = @import("AstGen.zig");
|
||||
const AstGen = std.zig.AstGen;
|
||||
const File = @import("Module.zig").File;
|
||||
const Compilation = @import("Compilation.zig");
|
||||
const log = std.log.scoped(.builtin);
|
||||
|
@ -28,7 +28,7 @@ const link = @import("link.zig");
|
||||
const Air = @import("Air.zig");
|
||||
const Zir = std.zig.Zir;
|
||||
const trace = @import("tracy.zig").trace;
|
||||
const AstGen = @import("AstGen.zig");
|
||||
const AstGen = std.zig.AstGen;
|
||||
const Sema = @import("Sema.zig");
|
||||
const target_util = @import("target.zig");
|
||||
const build_options = @import("build_options");
|
||||
|
@ -25,7 +25,7 @@ const Cache = std.Build.Cache;
|
||||
const target_util = @import("target.zig");
|
||||
const crash_report = @import("crash_report.zig");
|
||||
const Module = @import("Module.zig");
|
||||
const AstGen = @import("AstGen.zig");
|
||||
const AstGen = std.zig.AstGen;
|
||||
const mingw = @import("mingw.zig");
|
||||
const Server = std.zig.Server;
|
||||
|
||||
|
@ -5,7 +5,7 @@ const assert = std.debug.assert;
|
||||
const fatal = @import("./main.zig").fatal;
|
||||
const Ast = std.zig.Ast;
|
||||
const Walk = @import("reduce/Walk.zig");
|
||||
const AstGen = @import("AstGen.zig");
|
||||
const AstGen = std.zig.AstGen;
|
||||
const Zir = std.zig.Zir;
|
||||
|
||||
const usage =
|
||||
|
Loading…
Reference in New Issue
Block a user