csbindgen seems change order all the time, maybe input ordering helps
This commit is contained in:
		
							parent
							
								
									ac6954322a
								
							
						
					
					
						commit
						9193cfec10
					
				
					 2 changed files with 532 additions and 528 deletions
				
			
		
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							|  | @ -8,8 +8,12 @@ fn main() { | |||
| 
 | ||||
|     let mut builder = csbindgen::Builder::default(); | ||||
| 
 | ||||
|     for source in fs::read_dir("../servicepoint_binding_c/src").unwrap() { | ||||
|         let path = source.unwrap().path(); | ||||
|     let mut paths = fs::read_dir("../servicepoint_binding_c/src").unwrap() | ||||
|         .map(|x| x.unwrap().path()) | ||||
|         .collect::<Vec<_>>(); | ||||
|     paths.sort(); | ||||
| 
 | ||||
|     for path in paths { | ||||
|         println!("cargo:rerun-if-changed={}", path.display()); | ||||
|         builder = builder.input_extern_file(path); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vinzenz Schroeter
						Vinzenz Schroeter