Skip to content

Commit

Permalink
servo: Merge #18420 - Get rustc commit hash from channel manifest (fr…
Browse files Browse the repository at this point in the history
…om servo:toml); r=nox,emilio

… added in rust-lang/rust#44218, instead of using the GitHub API.

Also upgrade to rustc 1.22.0-nightly (d93036a04 2017-09-07).

Source-Repo: https://github.com/servo/servo
Source-Revision: af077a722225193b38d80622fb939b7719b46db0

UltraBlame original commit: b674d9f6d1d65fba6b68cb847619d1c7d84c0d4c
  • Loading branch information
marco-c committed Oct 2, 2019
1 parent 2d4151a commit 71d245c
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 83 deletions.
65 changes: 65 additions & 0 deletions servo/components/style/bloom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,71 @@ thread
will
panic
.
/
/
Forced
out
of
line
to
limit
stack
frame
sizes
after
extra
inlining
from
/
/
https
:
/
/
github
.
com
/
rust
-
lang
/
rust
/
pull
/
43931
/
/
/
/
See
https
:
/
/
github
.
com
/
servo
/
servo
/
pull
/
18420
#
issuecomment
-
328769322
#
[
inline
(
never
)
]
pub
fn
new
Expand Down
65 changes: 65 additions & 0 deletions servo/components/style/sharing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3821,6 +3821,71 @@ sharing
candidate
cache
.
/
/
Forced
out
of
line
to
limit
stack
frame
sizes
after
extra
inlining
from
/
/
https
:
/
/
github
.
com
/
rust
-
lang
/
rust
/
pull
/
43931
/
/
/
/
See
https
:
/
/
github
.
com
/
servo
/
servo
/
pull
/
18420
#
issuecomment
-
328769322
#
[
inline
(
never
)
]
pub
fn
new
Expand Down
81 changes: 2 additions & 79 deletions servo/python/servo/bootstrap_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,9 +755,6 @@
import
toml

import
re

channel
=
"
Expand Down Expand Up @@ -785,7 +782,7 @@
)
)

version_string
nightly_commit_hash
=
toml
.
Expand All @@ -810,81 +807,7 @@
]
[
"
version
"
]

short_commit
=
re
.
search
(
"
\
(
(
[
0
-
9a
-
f
]
+
)
"
version_string
)
.
group
(
1
)

commit_api
=
"
https
:
/
/
api
.
github
.
com
/
repos
/
rust
-
lang
/
rust
/
commits
/
"
+
short_commit

nightly_commit_hash
=
json
.
load
(
urllib2
.
urlopen
(
commit_api
)
)
[
"
sha
git_commit_hash
"
]

Expand Down
10 changes: 8 additions & 2 deletions servo/python/servo/devenv_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -2275,12 +2275,18 @@
/
/
static
.
-
rust
-
lang
.
-
org
.
s3
.
amazonaws
.
com
/
dist
/
Expand Down
4 changes: 2 additions & 2 deletions servo/rust-toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ nightly
-
2017
-
08
09
-
31
08

0 comments on commit 71d245c

Please sign in to comment.