Skip to content

Commit

Permalink
link stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l committed Nov 26, 2024
1 parent febf4cf commit dd5dfc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ fn run() -> Result<(), Box<dyn Error>> {
.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")?)
Expand Down

0 comments on commit dd5dfc8

Please sign in to comment.