Skip to content

Commit 70de9a2

Browse files
committed
Fix broken link to std::process::Command
Intra-doc links do not yet work in markdown files; see rust-lang/rust#77974.
1 parent 79ab777 commit 70de9a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/interoperability/c-with-rust.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ For projects with complex external projects or build systems, it may be easiest
112112

113113
While your crate may be targeting a `no_std` embedded platform, your `build.rs` executes only on machines compiling your crate. This means you may use any Rust crates which will run on your compilation host.
114114

115+
[`std::process::Command`]: https://doc.rust-lang.org/std/process/struct.Command.html
116+
115117
### Building C/C++ code with the `cc` crate
116118

117119
For projects with limited dependencies or complexity, or for projects where it is difficult to modify the build system to produce a static library (rather than a final binary or executable), it may be easier to instead utilize the [`cc` crate], which provides an idiomatic Rust interface to the compiler provided by the host.

0 commit comments

Comments
 (0)