diff --git a/.github/workflows/document.yaml b/.github/workflows/document.yaml index 2a0c938..5ebb01b 100644 --- a/.github/workflows/document.yaml +++ b/.github/workflows/document.yaml @@ -16,6 +16,7 @@ jobs: - uses: actions/configure-pages@v5 - uses: homebrew/actions/setup-homebrew@master - run: tools/setup.sh + - run: sudo apt-get install -y build-essential - run: cargo clean --doc - run: cargo doc --document-private-items - name: Generate index.html file diff --git a/build.rs b/build.rs index ee4f3b1..1a88aaa 100644 --- a/build.rs +++ b/build.rs @@ -79,6 +79,7 @@ fn run() -> Result<(), Box> { .map(|r| r.unwrap().path()) .filter(|r| r.is_file() && r.extension().unwrap() == "cpp"), ) + .cpp_link_stdlib(get_system_libcpp()) .cpp(true) .include("cc/include") .include(llvm_config("--includedir")?)