Skip to content

Commit

Permalink
Fix broken links to cpp and rust docs (#7263)
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw authored Jan 3, 2025
1 parent 12c99f1 commit 1ed40e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/astro/src/content/docs/guide/language/coding/file.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ The path to each library, as file or directory, must be defined separately at co
Use one of the following methods to help the Slint compiler resolve libraries to the correct
path on disk:

* When using Rust and `build.rs`, call [`with_library_paths`](slint-build-rust:struct.CompilerConfiguration#method.with_library_paths)
* When using Rust and `build.rs`, call [`with_library_paths`](https://slint.dev/docs/rust/slint_build/struct.CompilerConfiguration#method.with_library_paths)
to provide a mapping from library name to path.
* When using C++, use `LIBRARY_PATHS` with [`slint_target_sources`](slint-cpp:cmake_reference#slint-target-sources).
* When using C++, use `LIBRARY_PATHS` with [`slint_target_sources`](https://slint.dev/docs/cpp/cmake_reference#slint-target-sources).
* When invoking the `slint-viewer` from the command line, pass `-Lmylibrary=/path/to/my/library` for each component
library.
* When using the VS Code extension, configure the Slint extension's library path
Expand Down

0 comments on commit 1ed40e6

Please sign in to comment.