stage2: implement @extern

This commit is contained in:
Veikka Tuominen
2022-02-28 16:12:01 +02:00
parent 7cfc3f0cfa
commit ef4aca2dc4
4 changed files with 124 additions and 6 deletions

View File

@@ -1529,6 +1529,7 @@ pub const Var = struct {
is_extern: bool,
is_mutable: bool,
is_threadlocal: bool,
is_weak_linkage: bool,
pub fn deinit(variable: *Var, gpa: Allocator) void {
if (variable.lib_name) |lib_name| {