diff options
| author | Robin Voetter <robin@voetter.nl> | 2021-09-06 00:29:04 +0200 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2021-09-20 02:29:04 +0200 |
| commit | 95e83afa98c5af89c6e5f40d559eb54c6c31a54e (patch) | |
| tree | f1616f0a6a546a0ff7434b56b6efd1d0a3213c0f /lib/std | |
| parent | 5a142dfa5651ec21792de211a6e9341c31ab4dbb (diff) | |
| download | zig-95e83afa98c5af89c6e5f40d559eb54c6c31a54e.tar.gz zig-95e83afa98c5af89c6e5f40d559eb54c6c31a54e.zip | |
Address Spaces: Yeet address space on function prototypes
This is a property which solely belongs to pointers to functions,
not to the functions themselves. This cannot be properly represented by
stage 2 at the moment, as type with zigTypeTag() == .Fn is overloaded for
for function pointers and function prototypes.
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/builtin.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index 11273eedeb..f01e7605ab 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -365,7 +365,6 @@ pub const TypeInfo = union(enum) { pub const Fn = struct { calling_convention: CallingConvention, alignment: comptime_int, - address_space: AddressSpace, is_generic: bool, is_var_args: bool, return_type: ?type, |
