File tree Expand file tree Collapse file tree 3 files changed +32
-5
lines changed Expand file tree Collapse file tree 3 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 51
51
52
52
TARGET_CRATES := libc std green rustuv native flate arena glob term semver \
53
53
uuid serialize sync getopts collections num test time rand \
54
- workcache url log regex graphviz
54
+ workcache url log regex graphviz core
55
55
HOST_CRATES := syntax rustc rustdoc fourcc hexfloat regex_macros
56
56
CRATES := $(TARGET_CRATES ) $(HOST_CRATES )
57
57
TOOLS := compiletest rustdoc rustc
58
58
59
- DEPS_std := libc native:rustrt native:compiler-rt native:backtrace
59
+ DEPS_core :=
60
+ DEPS_std := core libc native:rustrt native:compiler-rt native:backtrace
60
61
DEPS_green := std rand native:context_switch
61
62
DEPS_rustuv := std native:uv native:uv_support
62
63
DEPS_native := std
@@ -95,6 +96,8 @@ TOOL_SOURCE_compiletest := $(S)src/compiletest/compiletest.rs
95
96
TOOL_SOURCE_rustdoc := $(S ) src/driver/driver.rs
96
97
TOOL_SOURCE_rustc := $(S ) src/driver/driver.rs
97
98
99
+ ONLY_RLIB_core := 1
100
+
98
101
# ###############################################################################
99
102
# You should not need to edit below this line
100
103
# ###############################################################################
Original file line number Diff line number Diff line change 18
18
# $(5) - the name of the crate being processed
19
19
define CP_HOST_STAGE_N_CRATE
20
20
21
+ ifeq ($$(ONLY_RLIB_$(5 ) ) ,)
21
22
$$(HLIB$(2 ) _H_$(4 ) ) /stamp.$(5 ) : \
22
23
$$(TLIB$(1 ) _T_$(3 ) _H_$(4 ) ) /stamp.$(5 ) \
23
24
$$(RUST_DEPS_$(5 ) :%=$$(HLIB$(2 ) _H_$(4 ) ) /stamp.% ) \
@@ -30,6 +31,10 @@ $$(HLIB$(2)_H_$(4))/stamp.$(5): \
30
31
$$(HLIB$(2 ) _H_$(4 ) )
31
32
$$(call LIST_ALL_OLD_GLOB_MATCHES,\
32
33
$$(dir $$@ )$$(call CFG_LIB_GLOB_$(3 ) ,$(5 ) ) )
34
+ else
35
+ $$(HLIB$(2 ) _H_$(4 ) ) /stamp.$(5 ) :
36
+ $$(Q ) touch $$@
37
+ endif
33
38
34
39
endef
35
40
54
59
# $(4) - the host triple (same as $(3))
55
60
define CP_HOST_STAGE_N
56
61
57
- $$(HBIN$(2 ) _H_$(4 ) ) /:
58
- @mkdir -p $$@
59
-
60
62
ifneq ($(CFG_LIBDIR_RELATIVE ) ,bin)
61
63
$$(HLIB$(2 ) _H_$(4 ) ) / :
62
64
@mkdir -p $$@
Original file line number Diff line number Diff line change
1
+ // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2
+ // file at the top-level directory of this distribution and at
3
+ // http://rust-lang.org/COPYRIGHT.
4
+ //
5
+ // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6
+ // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7
+ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8
+ // option. This file may not be copied, modified, or distributed
9
+ // except according to those terms.
10
+
11
+ //! The Rust core library
12
+
13
+ #![ crate_id = "core#0.11-pre" ]
14
+ #![ license = "MIT/ASL2" ]
15
+ #![ crate_type = "rlib" ]
16
+ #![ doc( html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
17
+ html_favicon_url = "http://www.rust-lang.org/favicon.ico" ,
18
+ html_root_url = "http://static.rust-lang.org/doc/master" ) ]
19
+
20
+ #![ no_std]
21
+ #![ feature( globs, macro_rules, managed_boxes) ]
22
+ #![ deny( missing_doc) ]
You can’t perform that action at this time.
0 commit comments