You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-19 23:45:40 +02:00
.github
mdbook-course
mdbook-exerciser
po
src
theme
third_party
cxx
blobstore
include
src
Android.bp
BUILD
Cargo.toml
build.rs
book
LICENSE-APACHE
LICENSE-MIT
README.md
overview.svg
mdbook
rust-by-example
rust-on-exercism
.gitignore
CONTRIBUTING.md
Cargo.lock
Cargo.toml
LICENSE
README.md
STYLE.md
TRANSLATIONS.md
aspect-ratio-helper.py
book.toml
dprint.json
rustfmt.toml
13 lines
409 B
Rust
13 lines
409 B
Rust
![]() |
fn main() {
|
||
|
cxx_build::bridge("src/main.rs")
|
||
|
.file("src/blobstore.cc")
|
||
|
.flag_if_supported("-std=c++14")
|
||
|
.include(".")
|
||
|
.include("../../../target/cxxbridge/demo/src")
|
||
|
.compile("cxxbridge-demo");
|
||
|
|
||
|
println!("cargo:rerun-if-changed=src/main.rs");
|
||
|
println!("cargo:rerun-if-changed=src/blobstore.cc");
|
||
|
println!("cargo:rerun-if-changed=include/blobstore.h");
|
||
|
}
|