-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine Cargo / C++ build integration (#2080)
* Refine build process * Update proto * Additional refinements * Fix lints * Add vscode default * Update gitignores * Update comments * Cleanup invalid cfg flags * Add all flags from depends config.site * Cleanup rust workaround args * Fix locales on CI * Fix cross compilers * Better naming * Refactor locales properly to fit into make.sh
- Loading branch information
1 parent
7c9f749
commit 5d43402
Showing
19 changed files
with
199 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[build] | ||
# We set this so that Makefile based | ||
# builds and ad-hoc cargo invocations all | ||
# result in the consistent compilation | ||
target-dir = "./build/lib/target" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
# Editors. | ||
*.sw* | ||
.vscode | ||
!.vscode/settings.default.json | ||
.clangd | ||
|
||
# Misc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
# Editors. | ||
*.sw* | ||
.vscode | ||
!.vscode/settings.default.json | ||
.clangd | ||
|
||
# Misc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
// Recommended default config. Place into settings.json | ||
// or copy over as `.vscode/settings.json` to take effect. | ||
"rust-analyzer.assist.expressionFillDefault": "default", | ||
"rust-analyzer.cargo.buildScripts.overrideCommand": ["../make.sh", "rust-analyzer-check" ], | ||
"rust-analyzer.check.overrideCommand": ["../make.sh", "rust-analyzer-check" ], | ||
"rust-analyzer.workspace.symbol.search.kind": "all_symbols" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.