Skip to content

Commit 3ee916e

Browse files
committed
Remove libnative
With runtime removal complete, there's nothing left of libnative. This commit removes it. Fixes rust-lang#18687 [breaking-change]
1 parent ad022b1 commit 3ee916e

File tree

10 files changed

+87
-1683
lines changed

10 files changed

+87
-1683
lines changed

mk/crates.mk

+4-5
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
# automatically generated for all stage/host/target combinations.
5050
################################################################################
5151

52-
TARGET_CRATES := libc std green native flate arena term \
52+
TARGET_CRATES := libc std green flate arena term \
5353
serialize sync getopts collections test time rand \
5454
log regex graphviz core rbml alloc rustrt \
5555
unicode
@@ -67,7 +67,6 @@ DEPS_std := core libc rand alloc collections rustrt sync unicode \
6767
native:rust_builtin native:backtrace
6868
DEPS_graphviz := std
6969
DEPS_green := std native:context_switch
70-
DEPS_native := std
7170
DEPS_syntax := std term serialize log fmt_macros arena libc
7271
DEPS_rustc_trans := rustc rustc_back rustc_llvm libc
7372
DEPS_rustc := syntax flate arena serialize getopts rbml \
@@ -95,9 +94,9 @@ DEPS_regex := std
9594
DEPS_regex_macros = rustc syntax std regex
9695
DEPS_fmt_macros = std
9796

98-
TOOL_DEPS_compiletest := test getopts native
99-
TOOL_DEPS_rustdoc := rustdoc native
100-
TOOL_DEPS_rustc := rustc_trans native
97+
TOOL_DEPS_compiletest := test getopts
98+
TOOL_DEPS_rustdoc := rustdoc
99+
TOOL_DEPS_rustc := rustc_trans
101100
TOOL_SOURCE_compiletest := $(S)src/compiletest/compiletest.rs
102101
TOOL_SOURCE_rustdoc := $(S)src/driver/driver.rs
103102
TOOL_SOURCE_rustc := $(S)src/driver/driver.rs

src/driver/driver.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![no_start]
12+
1113
#[cfg(rustdoc)]
1214
extern crate "rustdoc" as this;
1315

src/libnative/io/addrinfo.rs

-116
This file was deleted.

0 commit comments

Comments
 (0)