Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
352b44d1
R
Rust
项目概览
int
/
Rust
12 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rust
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
352b44d1
编写于
3月 29, 2016
作者:
E
Eduard Burtescu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unnecessary dependencies on rustc_llvm.
上级
cad964a6
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
7 addition
and
19 deletion
+7
-19
mk/crates.mk
mk/crates.mk
+2
-2
src/librustc/Cargo.toml
src/librustc/Cargo.toml
+0
-1
src/librustc/lib.rs
src/librustc/lib.rs
+0
-5
src/librustc/session/config.rs
src/librustc/session/config.rs
+0
-6
src/librustc_back/Cargo.toml
src/librustc_back/Cargo.toml
+0
-1
src/librustc_back/lib.rs
src/librustc_back/lib.rs
+0
-1
src/librustc_driver/lib.rs
src/librustc_driver/lib.rs
+4
-0
src/librustc_platform_intrinsics/Cargo.toml
src/librustc_platform_intrinsics/Cargo.toml
+0
-1
src/librustc_platform_intrinsics/lib.rs
src/librustc_platform_intrinsics/lib.rs
+0
-1
src/test/run-make/execution-engine/test.rs
src/test/run-make/execution-engine/test.rs
+1
-1
未找到文件。
mk/crates.mk
浏览文件 @
352b44d1
...
@@ -94,9 +94,9 @@ DEPS_syntax_ext := syntax fmt_macros
...
@@ -94,9 +94,9 @@ DEPS_syntax_ext := syntax fmt_macros
DEPS_rustc_const_eval
:=
std syntax
DEPS_rustc_const_eval
:=
std syntax
DEPS_rustc
:=
syntax fmt_macros flate arena serialize
getopts
rbml rustc_front
\
DEPS_rustc
:=
syntax fmt_macros flate arena serialize
getopts
rbml rustc_front
\
log graphviz rustc_
llvm rustc_
back rustc_data_structures
\
log graphviz rustc_back rustc_data_structures
\
rustc_const_eval
rustc_const_eval
DEPS_rustc_back
:=
std syntax rustc_
llvm rustc_
front flate log libc
DEPS_rustc_back
:=
std syntax rustc_front flate log libc
DEPS_rustc_borrowck
:=
rustc rustc_front rustc_mir log graphviz syntax
DEPS_rustc_borrowck
:=
rustc rustc_front rustc_mir log graphviz syntax
DEPS_rustc_data_structures
:=
std log serialize
DEPS_rustc_data_structures
:=
std log serialize
DEPS_rustc_driver
:=
arena flate
getopts
graphviz libc rustc rustc_back rustc_borrowck
\
DEPS_rustc_driver
:=
arena flate
getopts
graphviz libc rustc rustc_back rustc_borrowck
\
...
...
src/librustc/Cargo.toml
浏览文件 @
352b44d1
...
@@ -21,6 +21,5 @@ rustc_bitflags = { path = "../librustc_bitflags" }
...
@@ -21,6 +21,5 @@ rustc_bitflags = { path = "../librustc_bitflags" }
rustc_const_eval
=
{
path
=
"../librustc_const_eval"
}
rustc_const_eval
=
{
path
=
"../librustc_const_eval"
}
rustc_data_structures
=
{
path
=
"../librustc_data_structures"
}
rustc_data_structures
=
{
path
=
"../librustc_data_structures"
}
rustc_front
=
{
path
=
"../librustc_front"
}
rustc_front
=
{
path
=
"../librustc_front"
}
rustc_llvm
=
{
path
=
"../librustc_llvm"
}
serialize
=
{
path
=
"../libserialize"
}
serialize
=
{
path
=
"../libserialize"
}
syntax
=
{
path
=
"../libsyntax"
}
syntax
=
{
path
=
"../libsyntax"
}
src/librustc/lib.rs
浏览文件 @
352b44d1
...
@@ -50,7 +50,6 @@
...
@@ -50,7 +50,6 @@
extern
crate
graphviz
;
extern
crate
graphviz
;
extern
crate
libc
;
extern
crate
libc
;
extern
crate
rbml
;
extern
crate
rbml
;
pub
extern
crate
rustc_llvm
as
llvm
;
extern
crate
rustc_back
;
extern
crate
rustc_back
;
extern
crate
rustc_front
;
extern
crate
rustc_front
;
extern
crate
rustc_data_structures
;
extern
crate
rustc_data_structures
;
...
@@ -140,10 +139,6 @@ pub mod util {
...
@@ -140,10 +139,6 @@ pub mod util {
pub
mod
fs
;
pub
mod
fs
;
}
}
pub
mod
lib
{
pub
use
llvm
;
}
// A private module so that macro-expanded idents like
// A private module so that macro-expanded idents like
// `::rustc::lint::Lint` will also work in `rustc` itself.
// `::rustc::lint::Lint` will also work in `rustc` itself.
//
//
...
...
src/librustc/session/config.rs
浏览文件 @
352b44d1
...
@@ -38,8 +38,6 @@
...
@@ -38,8 +38,6 @@
use
std
::
fmt
;
use
std
::
fmt
;
use
std
::
path
::
PathBuf
;
use
std
::
path
::
PathBuf
;
use
llvm
;
pub
struct
Config
{
pub
struct
Config
{
pub
target
:
Target
,
pub
target
:
Target
,
pub
int_type
:
IntTy
,
pub
int_type
:
IntTy
,
...
@@ -1052,10 +1050,6 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
...
@@ -1052,10 +1050,6 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
let
dump_dep_graph
=
debugging_opts
.dump_dep_graph
;
let
dump_dep_graph
=
debugging_opts
.dump_dep_graph
;
let
no_analysis
=
debugging_opts
.no_analysis
;
let
no_analysis
=
debugging_opts
.no_analysis
;
if
debugging_opts
.debug_llvm
{
unsafe
{
llvm
::
LLVMSetDebug
(
1
);
}
}
let
mut
output_types
=
HashMap
::
new
();
let
mut
output_types
=
HashMap
::
new
();
if
!
debugging_opts
.parse_only
&&
!
no_trans
{
if
!
debugging_opts
.parse_only
&&
!
no_trans
{
for
list
in
matches
.opt_strs
(
"emit"
)
{
for
list
in
matches
.opt_strs
(
"emit"
)
{
...
...
src/librustc_back/Cargo.toml
浏览文件 @
352b44d1
...
@@ -11,7 +11,6 @@ crate-type = ["dylib"]
...
@@ -11,7 +11,6 @@ crate-type = ["dylib"]
[dependencies]
[dependencies]
syntax
=
{
path
=
"../libsyntax"
}
syntax
=
{
path
=
"../libsyntax"
}
serialize
=
{
path
=
"../libserialize"
}
serialize
=
{
path
=
"../libserialize"
}
rustc_llvm
=
{
path
=
"../librustc_llvm"
}
rustc_front
=
{
path
=
"../librustc_front"
}
rustc_front
=
{
path
=
"../librustc_front"
}
log
=
{
path
=
"../liblog"
}
log
=
{
path
=
"../liblog"
}
...
...
src/librustc_back/lib.rs
浏览文件 @
352b44d1
...
@@ -45,7 +45,6 @@
...
@@ -45,7 +45,6 @@
extern
crate
syntax
;
extern
crate
syntax
;
extern
crate
libc
;
extern
crate
libc
;
extern
crate
serialize
;
extern
crate
serialize
;
extern
crate
rustc_llvm
;
extern
crate
rustc_front
;
extern
crate
rustc_front
;
#[macro_use]
extern
crate
log
;
#[macro_use]
extern
crate
log
;
...
...
src/librustc_driver/lib.rs
浏览文件 @
352b44d1
...
@@ -166,6 +166,10 @@ pub fn run_compiler<'a>(args: &[String],
...
@@ -166,6 +166,10 @@ pub fn run_compiler<'a>(args: &[String],
let
sopts
=
config
::
build_session_options
(
&
matches
);
let
sopts
=
config
::
build_session_options
(
&
matches
);
if
sopts
.debugging_opts.debug_llvm
{
unsafe
{
llvm
::
LLVMSetDebug
(
1
);
}
}
let
descriptions
=
diagnostics_registry
();
let
descriptions
=
diagnostics_registry
();
do_or_return!
(
callbacks
.early_callback
(
&
matches
,
do_or_return!
(
callbacks
.early_callback
(
&
matches
,
...
...
src/librustc_platform_intrinsics/Cargo.toml
浏览文件 @
352b44d1
...
@@ -9,5 +9,4 @@ path = "lib.rs"
...
@@ -9,5 +9,4 @@ path = "lib.rs"
crate-type
=
["dylib"]
crate-type
=
["dylib"]
[dependencies]
[dependencies]
rustc_llvm
=
{
path
=
"../librustc_llvm"
}
rustc
=
{
path
=
"../librustc"
}
rustc
=
{
path
=
"../librustc"
}
src/librustc_platform_intrinsics/lib.rs
浏览文件 @
352b44d1
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
#![cfg_attr(not(stage0),
deny(warnings))]
#![cfg_attr(not(stage0),
deny(warnings))]
#![allow(bad_style)]
#![allow(bad_style)]
extern
crate
rustc_llvm
as
llvm
;
extern
crate
rustc
;
extern
crate
rustc
;
use
rustc
::
ty
::
TyCtxt
;
use
rustc
::
ty
::
TyCtxt
;
...
...
src/test/run-make/execution-engine/test.rs
浏览文件 @
352b44d1
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
extern
crate
rustc_driver
;
extern
crate
rustc_driver
;
extern
crate
rustc_front
;
extern
crate
rustc_front
;
extern
crate
rustc_lint
;
extern
crate
rustc_lint
;
extern
crate
rustc_llvm
as
llvm
;
extern
crate
rustc_metadata
;
extern
crate
rustc_metadata
;
extern
crate
rustc_resolve
;
extern
crate
rustc_resolve
;
#[macro_use]
extern
crate
syntax
;
#[macro_use]
extern
crate
syntax
;
...
@@ -28,7 +29,6 @@
...
@@ -28,7 +29,6 @@
use
rustc
::
dep_graph
::
DepGraph
;
use
rustc
::
dep_graph
::
DepGraph
;
use
rustc
::
front
::
map
as
ast_map
;
use
rustc
::
front
::
map
as
ast_map
;
use
rustc
::
llvm
;
use
rustc
::
middle
::
cstore
::{
CrateStore
,
LinkagePreference
};
use
rustc
::
middle
::
cstore
::{
CrateStore
,
LinkagePreference
};
use
rustc
::
ty
;
use
rustc
::
ty
;
use
rustc
::
session
::
config
::{
self
,
basic_options
,
build_configuration
,
Input
,
Options
};
use
rustc
::
session
::
config
::{
self
,
basic_options
,
build_configuration
,
Input
,
Options
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录