Skip to content

Commit

Permalink
update stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
griffi-gh committed Oct 2, 2023
1 parent 3abc6e8 commit 2cd4efa
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
43 changes: 40 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"type": "lldb",
"request": "launch",
"name": "Debug executable",
"name": "Debug executable (yarge-frontend-desktop)",
"cargo": {
"args": [
"build",
Expand All @@ -25,7 +25,7 @@
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests",
"name": "Debug unit tests (yarge-frontend-desktop)",
"cargo": {
"args": [
"test",
Expand All @@ -40,6 +40,43 @@
},
"args": [],
"cwd": "${workspaceFolder}"
}
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable (yarge-frontend-sdl)",
"cargo": {
"args": [
"build",
"--bin=yarge-frontend-sdl",
"--package=yarge-frontend-sdl"
],
"filter": {
"name": "yarge-frontend-sdl",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests (yarge-frontend-sdl)",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=yarge-frontend-sdl",
"--package=yarge-frontend-sdl"
],
"filter": {
"name": "yarge-frontend-sdl",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
]
}
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ resolver = "2"
[profile.dev.package."*"]
opt-level = 3

[profile.dev.package.yarge-core]
opt-level = 1

[profile.production]
inherits = "release"
strip = true
Expand Down

0 comments on commit 2cd4efa

Please sign in to comment.