mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 21:54:36 +03:00
chore: Update rustc
(#3768)
This commit is contained in:
parent
a38c8b1ca2
commit
3798436201
4
.github/workflows/bench.yml
vendored
4
.github/workflows/bench.yml
vendored
@ -54,11 +54,11 @@ jobs:
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly-2021-09-30
|
||||
# toolchain: nightly-2021-09-30
|
||||
override: true
|
||||
|
||||
- name: Run benchmark
|
||||
run: cargo +nightly-2021-09-30 bench --all --exclude swc_plugin | tee output.txt
|
||||
run: cargo bench --all --exclude swc_plugin | tee output.txt
|
||||
|
||||
- name: Download previous benchmark results
|
||||
run: mkdir raw-data && curl -o raw-data/benchmark-data.json https://raw.githubusercontent.com/swc-project/raw-data/gh-pages/benchmark-data.json
|
||||
|
1
.github/workflows/bot-pr.yml
vendored
1
.github/workflows/bot-pr.yml
vendored
@ -1,7 +1,6 @@
|
||||
name: Maintenance
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_review:
|
||||
|
||||
jobs:
|
||||
|
@ -5,7 +5,7 @@ pub extern crate scoped_tls;
|
||||
|
||||
/// See [scoped_tls::scoped_thread_local] for actual documentation.
|
||||
///
|
||||
/// This is noop on release builds.
|
||||
/// This is identical as [scoped_tls::scoped_thread_local] on release builds.
|
||||
#[macro_export]
|
||||
macro_rules! scoped_tls {
|
||||
($(#[$attrs:meta])* $vis:vis static $name:ident: $ty:ty) => {
|
||||
|
@ -1098,6 +1098,7 @@ impl SourceMap {
|
||||
self.build_source_map_with_config(mappings, orig, DefaultSourceMapGenConfig)
|
||||
}
|
||||
|
||||
#[allow(clippy::ptr_arg)]
|
||||
#[cfg(feature = "sourcemap")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "sourcemap")))]
|
||||
pub fn build_source_map_with_config(
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![deny(clippy::all)]
|
||||
|
||||
mod config;
|
||||
mod rule;
|
||||
mod rules;
|
||||
|
@ -45,7 +45,7 @@ where
|
||||
|
||||
HANDLER.with(|handler| {
|
||||
for error in errors {
|
||||
DiagnosticBuilder::new_diagnostic(&handler, error).emit();
|
||||
DiagnosticBuilder::new_diagnostic(handler, error).emit();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![deny(clippy::all)]
|
||||
#![allow(clippy::ptr_arg)]
|
||||
|
||||
use swc_atoms::JsWord;
|
||||
use swc_common::Span;
|
||||
|
@ -15,6 +15,7 @@
|
||||
#![allow(clippy::blocks_in_if_conditions)]
|
||||
#![allow(clippy::collapsible_else_if)]
|
||||
#![allow(clippy::collapsible_if)]
|
||||
#![allow(clippy::ptr_arg)]
|
||||
#![allow(clippy::vec_box)]
|
||||
#![allow(unstable_name_collisions)]
|
||||
|
||||
|
@ -93,7 +93,6 @@ fn add_test<F: FnOnce() + Send + 'static>(
|
||||
name: TestName::DynTestName(name),
|
||||
ignore,
|
||||
should_panic: No,
|
||||
allow_fail: false,
|
||||
compile_fail: false,
|
||||
no_run: false,
|
||||
},
|
||||
|
@ -104,7 +104,6 @@ fn add_test<F: FnOnce() + Send + 'static>(
|
||||
name: TestName::DynTestName(name),
|
||||
ignore,
|
||||
should_panic: No,
|
||||
allow_fail: false,
|
||||
compile_fail: false,
|
||||
no_run: false,
|
||||
},
|
||||
|
@ -1,5 +1,6 @@
|
||||
// This is not a public api.
|
||||
#![deny(clippy::all)]
|
||||
#![allow(clippy::ptr_arg)]
|
||||
|
||||
#[doc(hidden)]
|
||||
pub extern crate swc_ecma_ast;
|
||||
|
@ -71,7 +71,6 @@ fn fixtures() -> Result<(), Error> {
|
||||
)),
|
||||
ignore: false,
|
||||
should_panic: ShouldPanic::No,
|
||||
allow_fail: false,
|
||||
compile_fail: false,
|
||||
no_run: false,
|
||||
},
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(clippy::ptr_arg)]
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
use swc_visit::define;
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(clippy::ptr_arg)]
|
||||
|
||||
use std::any::Any;
|
||||
|
||||
use swc_visit::define;
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(clippy::ptr_arg)]
|
||||
|
||||
use std::any::Any;
|
||||
|
||||
use swc_visit::define;
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(clippy::ptr_arg)]
|
||||
|
||||
use std::any::Any;
|
||||
|
||||
use swc_visit::define;
|
||||
|
@ -1 +1 @@
|
||||
nightly-2022-01-19
|
||||
nightly-2022-02-23
|
Loading…
Reference in New Issue
Block a user