Compare commits
	
		
			2 Commits
		
	
	
		
			d34893ba72
			...
			ef39d9a7b8
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| ef39d9a7b8 | |||
| 986bc9448e | 
							
								
								
									
										5
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,9 +1,14 @@ | |||||||
|  | name: CI | ||||||
|  |  | ||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|  |     paths: | ||||||
|  |       - "**.zig" | ||||||
|     branches: |     branches: | ||||||
|       - main |       - main | ||||||
|   schedule: |   schedule: | ||||||
|     - cron: '0 0 * * *' |     - cron: '0 0 * * *' | ||||||
|  |   workflow_dispatch: | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|   | |||||||
| @@ -102,7 +102,7 @@ pub fn deinit(self: *Self) void { | |||||||
|     // This is so I can deallocate the original `allocator.alloc`. I have to re-make the type |     // This is so I can deallocate the original `allocator.alloc`. I have to re-make the type | ||||||
|     // since I'm not keeping it around, This is very jank and bad though |     // since I'm not keeping it around, This is very jank and bad though | ||||||
|     // FIXME: please figure out another way |     // FIXME: please figure out another way | ||||||
|     self.allocator.free(@ptrCast([*]const ?*anyopaque, self.write_tables[0][0..])[0 .. 3 * table_len]); |     self.allocator.free(@ptrCast([*]const ?*anyopaque, self.read_table[0..])[0 .. 3 * table_len]); | ||||||
|     self.* = undefined; |     self.* = undefined; | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user