Try clang

This commit is contained in:
Max Brunsfeld 2018-05-17 19:40:06 -07:00
parent 13e26b5007
commit 29dfa05504
2 changed files with 11 additions and 2 deletions

View file

@ -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

View file

@ -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")));