Compare commits

..

2 Commits

Author SHA1 Message Date
徐涛
32ad1017ad chore(git):增加屏蔽文件。 2023-03-21 16:46:20 +08:00
徐涛
17a4b3fda1 fix(build):调整Cargo编译配置。 2023-03-21 16:45:42 +08:00
2 changed files with 2 additions and 8 deletions

2
.gitignore vendored
View File

@ -22,3 +22,5 @@ dist-ssr
*.njsproj
*.sln
*.sw?
**/src-tauri/.cargo/

View File

@ -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"]