Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(es): Remove needless build scripts to reduce compile time #7129

Merged
merged 4 commits into from Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/ast_node/src/spanned.rs
Expand Up @@ -5,7 +5,7 @@ use pmutil::{smart_quote, Quote, ToTokensExt};
use swc_macros_common::prelude::*;
use syn::*;

#[derive(Debug, FromField)]
#[derive(FromField)]
#[darling(attributes(span))]
struct MyField {
/// Name of the field.
Expand Down
4 changes: 0 additions & 4 deletions crates/swc_ecma_ast/build.rs

This file was deleted.

3 changes: 2 additions & 1 deletion crates/swc_ecma_ast/src/lib.rs
Expand Up @@ -9,7 +9,8 @@
#![allow(clippy::clone_on_copy)]
#![recursion_limit = "1024"]

// #![deny(variant_size_differences)]
#[cfg(all(feature = "rkyv-impl", feature = "rkyv-bytecheck-impl"))]
compile_error!("Cannot enable bytechcked, non-bytechecked rkyv both");

use serde::{Deserialize, Serialize};
use swc_common::{ast_node, EqIgnoreSpan, Span};
Expand Down
4 changes: 0 additions & 4 deletions crates/swc_plugin_proxy/build.rs

This file was deleted.

3 changes: 3 additions & 0 deletions crates/swc_plugin_proxy/src/lib.rs
@@ -1,5 +1,8 @@
#![cfg_attr(not(feature = "__rkyv"), allow(warnings))]

#[cfg(all(feature = "rkyv-impl", feature = "rkyv-bytecheck-impl"))]
compile_error!("Cannot enable bytechcked, non-bytechecked rkyv both");

mod comments;
mod memory_interop;
mod metadata;
Expand Down