#![feature(platform_intrinsics)]
#![feature(simd, simd_ffi, link_llvm_intrinsics)]
#![feature(cfg_target_feature)]

extern crate rand;
extern crate x86intrin;

pub mod color;
pub mod decision;
pub mod field;
mod field_bit;
#[cfg(target_feature = "avx2")]
mod field_bit_256;
pub mod field_checker;
pub mod frame;
pub mod kumipuyo;
pub mod position;
pub mod rensa_result;
pub mod rensa_tracker;
pub mod score;
pub mod sseext;

#![feature(platform_intrinsics)]
#![feature(simd, simd_ffi, link_llvm_intrinsics)]
#![feature(cfg_target_feature)]

extern crate rand;
extern crate x86intrin;

pub mod color;
pub mod decision;
pub mod field;
mod field_bit;
#[cfg(all(target_feature = "avx2", target_feature="bmi2"))]
mod field_bit_256;
pub mod field_checker;
pub mod frame;
pub mod kumipuyo;
pub mod position;
pub mod rensa_result;
#[cfg(all(target_feature = "avx2", target_feature="bmi2"))]
pub mod rensa_tracker;
pub mod score;
pub mod sseext;

Build rensa_tracker only with AVX2
:green_heart: Build rensa_tracker only with AVX2

RensaTracker needs AVX2 and BMI2. Add #[cfg] so that it's not built
on non AVX2 or BMI2 machine.
