Try clang
This commit is contained in:
parent
13e26b5007
commit
29dfa05504
2 changed files with 11 additions and 2 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -4,11 +4,21 @@ rust:
|
|||
- stable
|
||||
|
||||
env:
|
||||
- RUST_TREE_SITTER_TEST=1
|
||||
- CC=clang-3.6 RUST_TREE_SITTER_TEST=1
|
||||
|
||||
before_install:
|
||||
- ./script/fetch-test-fixtures.sh
|
||||
|
||||
compiler: clang-3.6
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-precise-3.6
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- clang-3.6
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
|
|
|||
1
build.rs
1
build.rs
|
|
@ -10,7 +10,6 @@ fn main() {
|
|||
config
|
||||
.flag("-std=c99")
|
||||
.flag("-Wno-unused-parameter")
|
||||
.static_flag(true)
|
||||
.include(root_path.join(Path::new("src")))
|
||||
.include(root_path.join(Path::new("include")))
|
||||
.include(root_path.join(Path::new("externals/utf8proc")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue