create: cargo install --locked
This commit is contained in:
		
							parent
							
								
									2c51502050
								
							
						
					
					
						commit
						160a470118
					
				@ -167,7 +167,7 @@ module Homebrew
 | 
				
			|||||||
        <% elsif  mode == :python %>
 | 
					        <% elsif  mode == :python %>
 | 
				
			||||||
            virtualenv_install_with_resources
 | 
					            virtualenv_install_with_resources
 | 
				
			||||||
        <% elsif  mode == :rust %>
 | 
					        <% elsif  mode == :rust %>
 | 
				
			||||||
            system "cargo", "install", "--root", prefix, "--path", "."
 | 
					            system "cargo", "install", "--locked", "--root", prefix, "--path", "."
 | 
				
			||||||
        <% else  %>
 | 
					        <% else  %>
 | 
				
			||||||
            # Remove unrecognized options if warned by configure
 | 
					            # Remove unrecognized options if warned by configure
 | 
				
			||||||
            system "./configure", "--disable-debug",
 | 
					            system "./configure", "--disable-debug",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user