Skip to content

Commit

Permalink
Merge #271
Browse files Browse the repository at this point in the history
271: Fix broken link to std::process::Command r=therealprof a=jyn514

Intra-doc links do not yet work in markdown files; see rust-lang/rust#77974.

Part of rust-lang/rust#77971.

Co-authored-by: Joshua Nelson <jyn514@gmail.com>
  • Loading branch information
bors[bot] and jyn514 authored Oct 15, 2020
2 parents 79ab777 + 70de9a2 commit ca8169e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interoperability/c-with-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ For projects with complex external projects or build systems, it may be easiest

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.

[`std::process::Command`]: https://doc.rust-lang.org/std/process/struct.Command.html

### Building C/C++ code with the `cc` crate

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.
Expand Down

0 comments on commit ca8169e

Please sign in to comment.