diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index 75c30a3..0000000 --- a/Makefile.in +++ /dev/null @@ -1,24 +0,0 @@ -VPATH=%VPATH% - -RUSTC ?= rustc -RUSTFLAGS ?= - -RUST_SRC=$(shell find $(VPATH)/src -type f -name '*.rs') - -.PHONY: all -all: libcore_foundation.dummy - -libcore_foundation.dummy: src/lib.rs $(RUST_SRC) - $(RUSTC) $(RUSTFLAGS) $< --out-dir . - touch $@ - -core_foundation-test: src/lib.rs $(RUST_SRC) - $(RUSTC) $(RUSTFLAGS) $< -o $@ --test - -.PHONY: check -check: core_foundation-test - ./core_foundation-test $(TEST) - -.PHONY: clean -clean: - rm -f *.o *.a *.so *.dylib *.rlib *.dll *.dummy *-test diff --git a/configure b/configure deleted file mode 100755 index 62a0f4c..0000000 --- a/configure +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -SRCDIR="$(cd $(dirname $0) && pwd)" -sed "s#%VPATH%#${SRCDIR}#" ${SRCDIR}/Makefile.in > Makefile diff --git a/src/lib.rs b/src/lib.rs index 0ff9ebf..66d0958 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,32 +14,20 @@ extern crate libc; -#[cfg(target_os="macos")] pub mod array; -#[cfg(target_os="macos")] pub mod base; -#[cfg(target_os="macos")] pub mod boolean; -#[cfg(target_os="macos")] pub mod data; -#[cfg(target_os="macos")] pub mod dictionary; -#[cfg(target_os="macos")] pub mod number; -#[cfg(target_os="macos")] pub mod set; -#[cfg(target_os="macos")] pub mod string; -#[cfg(target_os="macos")] pub mod url; -#[cfg(target_os="macos")] pub mod bundle; -#[cfg(target_os="macos")] pub mod date; -#[cfg(target_os="macos")] pub mod runloop; -#[cfg(all(target_os="macos", test))] +#[cfg(test)] pub mod test { #[test] fn test_stuff() {