stage2: implement @extern

This commit is contained in:
Veikka Tuominen committed 2022-03-02 12:15:50 +02:00
1 parent 7cfc3f0cfa
commit ef4aca2dc4
4 files changed
+124 -6

No files matched your search

+1
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| {