From 66ebcbd1b77848657b8cdd41d5f008ddd5dd875c Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 16 Oct 2024 15:28:01 +0200 Subject: [PATCH] Janitor: fix wording of the building.md docs --- docs/building.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/docs/building.md b/docs/building.md index f4ed03fe24a..a3bd4cd3816 100644 --- a/docs/building.md +++ b/docs/building.md @@ -109,21 +109,17 @@ cargo build cargo test ``` -### Building workspace +**Important:** Note that `cargo test` does not work without first calling `cargo build` because the +the required dynamic library won't be found. -
** Not recommended **
+### Building workspace To build all examples install the entire workplace to executables (excluding [UEFI-demo](https://github.com/slint-ui/slint/tree/master/examples/uefi-demo) - different target) -- Build workspace - - ```sh - cargo build --workspace --exclude uefi-demo --release - ``` - -**Important:** Note that `cargo test` does not work without first calling `cargo build` because the -the required dynamic library won't be found. +```sh +cargo build --workspace --exclude uefi-demo --release +``` ### C++ Tests