diff --git a/src-tauri/.cargo/config.toml b/src-tauri/.cargo/config.toml new file mode 100644 index 0000000..5f4c590 --- /dev/null +++ b/src-tauri/.cargo/config.toml @@ -0,0 +1,3 @@ +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"] diff --git a/src-tauri/.env b/src-tauri/.env new file mode 100644 index 0000000..f275894 --- /dev/null +++ b/src-tauri/.env @@ -0,0 +1 @@ +DATABASE_URL=sqlite://creddy.db?mode=rwc diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index cd41769..d6fc85b 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -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