From 29dfa0550413cecb9f2fb13798e60f95522bb0ba Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 17 May 2018 19:40:06 -0700 Subject: [PATCH] Try clang --- .travis.yml | 12 +++++++++++- build.rs | 1 - 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 10fcfe94..5b99d596 100644 --- a/.travis.yml +++ b/.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 diff --git a/build.rs b/build.rs index b7433f54..8736b645 100644 --- a/build.rs +++ b/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")));