3 # check that rustc builds all crate_type attributes
5 # delete whatever dylib is made for this system
6 # check that rustc only builds --crate-type flags, ignoring attributes
7 # fail if an rlib was built
10 $(call REMOVE_RLIBS,test)
11 $(call REMOVE_DYLIBS,test)
12 $(RUSTC) --crate-type dylib test.rs
13 $(call REMOVE_RLIBS,test) && exit 1 || exit 0