adjust modules
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 9m27s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 9m27s
				
			This commit is contained in:
		
							parent
							
								
									f8b6b3e521
								
							
						
					
					
						commit
						5d13b48da6
					
				
					 1 changed files with 10 additions and 2 deletions
				
			
		
							
								
								
									
										12
									
								
								build.zig
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								build.zig
									
										
									
									
									
								
							|  | @ -45,13 +45,21 @@ pub fn build(b: *Builder) !void { | |||
|     const smithy_module = smithy_dep.module("smithy"); | ||||
|     exe.addModule("smithy", smithy_module); // not sure this should be here... | ||||
| 
 | ||||
|     const module = b.addModule("aws", .{ | ||||
|     // Expose module to others | ||||
|     _ = b.addModule("aws", .{ | ||||
|         .source_file = .{ .path = "src/aws.zig" }, | ||||
|         .dependencies = &[_]std.build.ModuleDependency{ | ||||
|             .{ .name = "smithy", .module = smithy_module }, | ||||
|         }, | ||||
|     }); | ||||
|     exe.addModule("aws", module); | ||||
| 
 | ||||
|     // Expose module to others | ||||
|     _ = b.addModule("aws-signing", .{ | ||||
|         .source_file = .{ .path = "src/aws_signing.zig" }, | ||||
|         .dependencies = &[_]std.build.ModuleDependency{ | ||||
|             .{ .name = "smithy", .module = smithy_module }, | ||||
|         }, | ||||
|     }); | ||||
|     // TODO: This does not work correctly due to https://github.com/ziglang/zig/issues/16354 | ||||
|     // | ||||
|     // We are working here with kind of a weird dependency though. So we can do this | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue