Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
seer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nils Fitinghoff
seer
Commits
7ce3fadf
Commit
7ce3fadf
authored
7 years ago
by
David Renshaw
Browse files
Options
Downloads
Patches
Plain Diff
rustup
parent
f2962eab
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/driver.rs
+2
-1
2 additions, 1 deletion
src/driver.rs
src/lib.rs
+1
-0
1 addition, 0 deletions
src/lib.rs
with
3 additions
and
1 deletion
src/driver.rs
+
2
−
1
View file @
7ce3fadf
...
@@ -36,6 +36,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
...
@@ -36,6 +36,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
}
}
fn
late_callback
(
fn
late_callback
(
&
mut
self
,
&
mut
self
,
trans
:
&
::
rustc_trans_utils
::
trans_crate
::
TransCrate
,
matches
:
&
getopts
::
Matches
,
matches
:
&
getopts
::
Matches
,
sess
:
&
Session
,
sess
:
&
Session
,
cstore
:
&
CrateStore
,
cstore
:
&
CrateStore
,
...
@@ -43,7 +44,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
...
@@ -43,7 +44,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
odir
:
&
Option
<
PathBuf
>
,
odir
:
&
Option
<
PathBuf
>
,
ofile
:
&
Option
<
PathBuf
>
ofile
:
&
Option
<
PathBuf
>
)
->
Compilation
{
)
->
Compilation
{
self
.0
.late_callback
(
matches
,
sess
,
cstore
,
input
,
odir
,
ofile
)
self
.0
.late_callback
(
trans
,
matches
,
sess
,
cstore
,
input
,
odir
,
ofile
)
}
}
fn
build_controller
(
&
mut
self
,
sess
:
&
Session
,
matches
:
&
getopts
::
Matches
)
->
CompileController
<
'a
>
{
fn
build_controller
(
&
mut
self
,
sess
:
&
Session
,
matches
:
&
getopts
::
Matches
)
->
CompileController
<
'a
>
{
let
mut
control
=
self
.0
.build_controller
(
sess
,
matches
);
let
mut
control
=
self
.0
.build_controller
(
sess
,
matches
);
...
...
This diff is collapsed.
Click to expand it.
src/lib.rs
+
1
−
0
View file @
7ce3fadf
...
@@ -15,6 +15,7 @@ extern crate rustc_const_math;
...
@@ -15,6 +15,7 @@ extern crate rustc_const_math;
extern
crate
rustc_data_structures
;
extern
crate
rustc_data_structures
;
extern
crate
rustc_driver
;
extern
crate
rustc_driver
;
extern
crate
rustc_errors
;
extern
crate
rustc_errors
;
extern
crate
rustc_trans_utils
;
extern
crate
syntax
;
extern
crate
syntax
;
// From crates.io.
// From crates.io.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment