| author | |
| committer | |
| log | 569182dbb259b2b5cfb457e798407d8ec2eacc2d |
| tree | 3f15c77a5aff7de7ea8fedc19de5ab7286e35aa8 |
| parent | 5de06365776687265ecf017979b33163db59e93e |
but allow for { .exe, .o, .a }.
closes #179281 files changed, 1 insertions(+), 1 deletions(-)
src/Compilation.zig+1-1| ... | ... | @@ -1288,7 +1288,7 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { |
| 1288 | 1288 | const sysroot = options.sysroot orelse libc_dirs.sysroot; |
| 1289 | 1289 | |
| 1290 | 1290 | const pie: bool = pie: { |
| 1291 | if (options.output_mode != .Exe) { | |
| 1291 | if (is_dyn_lib) { | |
| 1292 | 1292 | if (options.want_pie == true) return error.OutputModeForbidsPie; |
| 1293 | 1293 | break :pie false; |
| 1294 | 1294 | } |