build improvements

This commit is contained in:
Joseph Montanaro 2022-12-28 10:16:06 -08:00
parent 4956b64371
commit 992e3c8db2
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,3 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]

1
src-tauri/.env Normal file
View File

@ -0,0 +1 @@
DATABASE_URL=sqlite://creddy.db?mode=rwc

View File

@ -37,3 +37,6 @@ default = [ "custom-protocol" ]
# this feature is used used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = [ "tauri/custom-protocol" ]
# [profile.dev.build-override]
# opt-level = 3