mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 22:39:37 +00:00
New translations workspaces.mdx (Russian)
[ci skip]
This commit is contained in:
@@ -57,3 +57,21 @@ inherit = true
|
|||||||
language = "c"
|
language = "c"
|
||||||
standard = "c17"
|
standard = "c17"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Workspace-only root (no build of its own)
|
||||||
|
|
||||||
|
A workspace root can set `workspace_only = true` — it won't be built itself, and doesn't need `language` or `compiler`:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[package]
|
||||||
|
name = "my-workspace"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
|
[build]
|
||||||
|
workspace_only = true
|
||||||
|
kind = "bin"
|
||||||
|
|
||||||
|
[workspace]
|
||||||
|
lib-core = { path = "lib-core" }
|
||||||
|
app = { path = "app", deps = ["lib-core"] }
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user