bjorn3
7bc6742a45
Remove unnecessary feature gate
2021-08-13 13:03:46 +02:00
bjorn3
5b0d7fbe5d
Fix lint
2021-08-10 15:34:50 +02:00
bjorn3
92a23f7583
Update script_plugin for rust-lang/rust#85296
2021-08-09 12:01:42 +02:00
Josh Matthews
8d5dd66ed3
Update to 7/17 nightly.
2021-07-17 16:41:38 -04:00
Dominic Cooney
0955b686ed
Don't name unused ExpnKind::Macro fields in components/script_plugins
...
Co-authored-by: Simon Sapin <simon.sapin@exyr.org>
2021-05-22 23:47:27 +09:00
Dominic Cooney
7d997748da
Update toolchain to nightly-2021-05-18
...
The nightly-2021-03-12 toolchain doesn't have RLS on Windows. This
breaks code completion in Visual Studio Code because the rust plugin
picks up the project toolchain.
RLS is available in all tier one platforms in nightly-2021-05-18 per:
https://rust-lang.github.io/rustup-components-history/
Signed-off-by: Dominic Cooney <dominic.cooney@gmail.com>
2021-05-22 19:47:31 +09:00
bjorn3
40a6aad6b9
Update doc comment for script_plugins/lib.rs
...
script_plugins no longer provides any macros. It currently only provides the must_root lint.
2021-05-14 14:44:12 +02:00
Josh Matthews
129c583799
Update to 3/12 rustc nightly.
2021-03-14 13:24:21 -04:00
Simon Sapin
aa854ec2d2
Upgrade to rustc 1.52.0-nightly (a8486b64b 2021-02-24)
2021-02-25 20:31:43 +01:00
Simon Sapin
173123a768
Upgrade to rustc 1.48.0-nightly (623fb90b5 2020-09-26)
2021-01-26 09:23:03 +01:00
Josh Matthews
b7f0612807
Update to 7/27 nightly rustc.
2020-07-27 12:56:57 -04:00
Josh Matthews
6843d51a26
Update to 7/6 rustc.
2020-07-06 10:06:06 -04:00
Josh Matthews
4b86df4378
Update to new internal rustc tables() API.
2020-06-30 16:52:14 -04:00
Simon Sapin
1c0549ce7f
Upgrade to rustc 1.44.0-nightly (42abbd887 2020-04-07)
2020-04-09 21:33:44 +02:00
Simon Sapin
651b087155
Upgrade to rustc 1.44.0-nightly (211365947 2020-03-30)
2020-04-08 14:42:45 +02:00
Josh Matthews
a555e7443b
Update rustc to 3/16 nightly.
2020-03-16 13:34:50 -04:00
Josh Matthews
51145cfd83
Update to 3/4 nightly rustc.
2020-03-10 10:09:07 -04:00
Josh Matthews
a29f4a9afe
Revert "Auto merge of #25898 - jdm:rustup, r=asajeffrey"
...
This reverts commit ea8aed1ba9
, reversing
changes made to 3749eb5397
.
2020-03-06 00:06:15 -05:00
Josh Matthews
bf7537ef5b
Update to 3/4 nightly rustc.
2020-03-04 15:08:18 -05:00
Simon Sapin
708d3737df
Upgrade to rustc 1.43.0-nightly (5d04ce67f 2020-02-13)
2020-02-14 12:27:14 +01:00
Simon Sapin
db4f27f361
Use the matches!
macro from the standard library
2020-02-12 10:08:31 +01:00
Simon Sapin
850f52c327
Upgrade to rustc 1.42.0-nightly (3291ae339 2020-01-15)
2020-01-16 08:46:41 +01:00
Kunal Mohan
02c1612cb0
Add accountable-refcell as optional build time feature
2020-01-08 09:44:41 +05:30
Simon Sapin
1ff5433aef
Upgrade to rustc 1.42.0-nightly (9b98af84c 2019-12-22)
2019-12-23 14:07:01 +01:00
Simon Sapin
4cbbb625d0
Upgrade to rustc 1.41.0-nightly (7afe6d9d1 2019-12-03)
2019-12-04 12:29:17 +01:00
Simon Sapin
bea73951db
Use #![register_tool]
instead of #![register_attr]
...
CC https://github.com/rust-lang/rust/issues/66079
2019-11-15 17:24:42 +01:00
Simon Sapin
091feba0ba
Use #![register_attr(…)]
instead of Registry::register_attribute
...
CC https://github.com/rust-lang/rust/pull/66344 , https://github.com/rust-lang/rust/issues/66080
2019-11-15 16:46:50 +01:00
Simon Sapin
d3439fb4d1
Upgrade to rustc 1.40.0-nightly (246be7e1a 2019-10-25)
2019-10-26 13:03:49 +02:00
Simon Sapin
81b7f046bf
Move script_plugins to a single file
2019-09-29 23:20:48 +02:00
Simon Sapin
47c269360c
Remove redundant webidl_must_inherit compiler plugin lint
...
At first I was considering moving it to a procedural macro
(source-level information should be sufficient),
and started by trying to reproduce the error case
by changing `htmldivelement.rs` to use `Element` instead of `HTMLElement`
as the first field.
The output was:
```rust
error[E0308]: mismatched types
--> /home/simon/servo2/target/debug/build/script-4caa244faca7d10f/out/Bindings/HTMLDivElementBinding.rs:665:31
|
665 | let _: &HTMLElement = self.as_parent();
| ^^^^^^^^^^^^^^^^ expected struct `dom::htmlelement::HTMLElement`, found struct `dom::element::Element`
|
= note: expected type `&dom::htmlelement::HTMLElement`
found type `&dom::element::Element`
```
This line number is inside a generated method called `__assert_parent_type`.
As far as I can tell, any case where this lint would error is already caught
by such methods. The lint is therefore redundant and can safely be removed.
2019-09-29 23:11:40 +02:00
Simon Sapin
714a5b4248
Upgrade to rustc 1.39.0-nightly (9eae1fc0e 2019-08-23)
2019-08-24 13:41:58 +02:00
Simon Sapin
d3718823ba
Upgrade to rustc 1.38.0-nightly (4b65a86eb 2019-07-15)
2019-07-17 10:48:54 +02:00
bors-servo
6fb7a8cdc7
Auto merge of #23405 - Eijebong:weedle, r=jdm
...
Switch from webidl to weedle in script_plugins
This removes the dependency on lalrpop and should speed up compilation
quite a bit.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23405 )
<!-- Reviewable:end -->
2019-05-20 21:13:33 -04:00
Bastien Orivel
13c632e739
Switch from webidl to weedle in script_plugins
...
This removes the dependency on lalrpop and should speed up compilation
quite a bit.
2019-05-15 23:03:25 +02:00
Simon Sapin
06b99983fc
Upgrade to rustc 1.36.0-nightly (a9ec99f42 2019-05-13)
2019-05-14 17:37:40 +02:00
krk
ea833b597f
Parse webidl files and lint for inheritance correctness.
2019-04-20 22:39:37 +02:00
krk
dfca8ec913
Can collect webidl paths.
2019-04-20 22:39:22 +02:00
Manish Goregaokar
e28e73c81f
Exempt Rc<Promise> from unrooted_must_root
...
fixes #22504
2019-01-04 09:34:04 -08:00
Simon Sapin
82fc6d9f49
Upgrade to rustc 1.33.0-nightly (fb86d604b 2018-12-27)
2018-12-28 13:16:55 +01:00
Jan Andre Ikenmeyer
1d6fe65401
Update MPL license to https (part 4)
2018-11-19 14:47:27 +01:00
chansuke
3324b5b82f
Format components/script_plugins
2018-09-13 01:01:35 +09:00
Simon Sapin
a6dcfdcd55
Upgrade to rustc 1.30.0-nightly (721913067 2018-08-26)
2018-08-27 10:47:49 +02:00
Anthony Ramine
a553964123
Upgrade to rustc 1.28.0-nightly (524ad9b9e 2018-05-29)
...
Fixes https://github.com/servo/servo/issues/20844
2018-05-30 10:50:59 +02:00
Simon Sapin
a5d9d0b32d
Make the unrooted_must_root conditional on a default Cargo feature.
...
Only http://perf.rust-lang.org/ will disable it,
in order to be less subject to changes to rustc internal APIs.
2017-11-02 15:08:04 +01:00
Simon Sapin
2bee740057
Fix new failure in Nightly 2017-11-01.
...
The rustc::declare_lints! macro started using a :vis fragment specifier.
2017-11-01 13:08:03 +01:00
Simon Sapin
aa5761a5fb
Remove usage of unstable box syntax, except in the script crate
...
… because there’s a lot of it,
and script still uses any other unstable features anyway.
2017-10-12 12:10:56 +02:00
Matt Brubeck
2f030966bf
Split feature gates into lines for easy grepping
2017-09-21 09:40:46 -07:00
Matt Brubeck
10478b4fa3
Stop using unstable slice_patterns feature
2017-05-01 14:19:00 -07:00
Jefry Lagrange
ebcb15d6f2
Rewrite the ban-type lint in Python
...
Delete old rust ban lint and move tests to python tidy
Fix ban lint regex and fix test
2017-02-25 15:56:06 +01:00
Anthony Ramine
31e9d81c0f
Make #[dom_struct] a proc_macro attribute
2017-02-24 01:50:51 +01:00