Skip to content

Commit

Permalink
Merge pull request #72 from caspark/main
Browse files Browse the repository at this point in the history
Fix asset loading in debug launch config on Linux
  • Loading branch information
NiklasEi authored Sep 22, 2023
2 parents 30b90d0 + 1c18568 commit 80e05bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
},
"linux": {
"env": {
// platform-specific launch config overwrites (rather than merges with) existing config, so need to specify CARGO_MANIFEST_DIR again
"CARGO_MANIFEST_DIR": "${workspaceFolder}",
"LD_LIBRARY_PATH": "${env:LD_LIBRARY_PATH}:${workspaceFolder}/target/debug:${env:HOME}/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib:${env:HOME}/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib"
}
}
Expand Down Expand Up @@ -65,4 +67,4 @@
}
}
]
}
}

0 comments on commit 80e05bd

Please sign in to comment.