Update for upstream changes.
Also change from rlib/dylib to lib (dylib is not necessary and complicates matters in this new rpath-free world).
This commit is contained in:
parent
a1dadf856e
commit
6daea53385
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) \
|
||||||
$(filter $(subst *,%,$2),$d))
|
$(filter $(subst *,%,$2),$d))
|
||||||
|
|
||||||
SRC := $(call rwildcard,src/,*.rs)
|
SRC := $(call rwildcard,src/,*.rs)
|
||||||
LIB := target/$(shell rustc --crate-file-name src/lib.rs --crate-type rlib)
|
LIB := target/$(shell rustc --print-file-name src/lib.rs)
|
||||||
ifeq ($(LIB),target/)
|
ifeq ($(LIB),target/)
|
||||||
# We may not have rustc or the lib.rs file may be broken.
|
# We may not have rustc or the lib.rs file may be broken.
|
||||||
# But don't break the rules on that account.
|
# But don't break the rules on that account.
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
//! This crate provides the `AnyMap` type, a safe and convenient store for one value of each type.
|
//! This crate provides the `AnyMap` type, a safe and convenient store for one value of each type.
|
||||||
|
|
||||||
#![crate_id = "anymap#0.9.0"]
|
#![crate_name = "anymap"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "lib"]
|
||||||
#![crate_type = "dylib"]
|
|
||||||
#![feature(default_type_params)]
|
#![feature(default_type_params)]
|
||||||
#![warn(unnecessary_qualification, non_uppercase_statics,
|
#![warn(unnecessary_qualification, non_uppercase_statics,
|
||||||
variant_size_difference, managed_heap_memory, unnecessary_typecast,
|
variant_size_difference, managed_heap_memory, unnecessary_typecast,
|
||||||
|
|
Loading…
Reference in a new issue