fix(build):调整Cargo编译配置。
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -22,3 +22,5 @@ dist-ssr | ||||
| *.njsproj | ||||
| *.sln | ||||
| *.sw? | ||||
|  | ||||
| /src-tauri/.cargo/ | ||||
|   | ||||
| @@ -1,8 +0,0 @@ | ||||
| [target.'cfg(target_os = "linux")'] | ||||
| rustflags = ["-C", "link-arg=-nostartfiles"] | ||||
|  | ||||
| [target.'cfg(target_os = "windows")'] | ||||
| rustflags = ["-C", "link-args=/ENTRY:_start /SUBSYSTEM:console"] | ||||
|  | ||||
| [target.'cfg(target_os = "macos")'] | ||||
| rustflags = ["-C", "link-args=-e __start -static -nostartfiles"] | ||||
		Reference in New Issue
	
	Block a user