Skip to content

Commit 0d9e4be

Browse files
committed
build: don't build the bundle from the build script
With this change, we no longer build the bundle with the build script, exporting it as a global constant. Instead, we require users to either download the bundle from GitHub or build by executing the root package. This should reduce the slowness usually involved in running `cargo check --all` on this repo. fixes #1664
1 parent 50c344c commit 0d9e4be

File tree

5 files changed

+156
-271
lines changed

5 files changed

+156
-271
lines changed

Cargo.lock

Lines changed: 6 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ edition = "2021"
1616
repository = "https://github.com/filecoin-project/builtin-actors"
1717

1818
[package]
19-
name = "fil_builtin_actors_bundle"
20-
description = "Bundle of FVM-compatible Wasm bytecode for Filecoin builtin actors"
19+
name = "fil_builtin_actors_builder"
20+
description = "Builder of FVM-compatible Wasm bytecode for Filecoin builtin actors"
2121
version.workspace = true
2222
license.workspace = true
2323
edition.workspace = true
@@ -26,33 +26,9 @@ authors = ["Protocol Labs", "Filecoin Core Devs"]
2626
keywords = ["filecoin", "web3", "wasm"]
2727
exclude = ["examples", ".github"]
2828

29-
# We don't publish the bundle to crates.io anymore. Instead, we build in CI.
29+
# We don't publish the bundle or bundler to crates.io. Instead, we build in CI.
3030
publish = false
3131

32-
[target.'cfg(target_arch = "wasm32")'.dependencies]
33-
fil_actor_account = { workspace = true, features = ["fil-actor"] }
34-
fil_actor_cron = { workspace = true, features = ["fil-actor"] }
35-
fil_actor_datacap = { workspace = true, features = ["fil-actor"] }
36-
fil_actor_ethaccount = { workspace = true, features = ["fil-actor"] }
37-
fil_actor_eam = { workspace = true, features = ["fil-actor"] }
38-
fil_actor_evm = { workspace = true, features = ["fil-actor"] }
39-
fil_actor_init = { workspace = true, features = ["fil-actor"] }
40-
fil_actor_market = { workspace = true, features = ["fil-actor"] }
41-
fil_actor_miner = { workspace = true, features = ["fil-actor"] }
42-
fil_actor_multisig = { workspace = true, features = ["fil-actor"] }
43-
fil_actor_paych = { workspace = true, features = ["fil-actor"] }
44-
fil_actor_placeholder = { workspace = true, features = ["fil-actor"] }
45-
fil_actor_power = { workspace = true, features = ["fil-actor"] }
46-
fil_actor_reward = { workspace = true, features = ["fil-actor"] }
47-
fil_actor_system = { workspace = true, features = ["fil-actor"] }
48-
fil_actor_verifreg = { workspace = true, features = ["fil-actor"] }
49-
50-
[build-dependencies]
51-
fil_actor_bundler = "7.1.0"
52-
cid = { workspace = true }
53-
fil_actors_runtime = { workspace = true }
54-
num-traits = { workspace = true }
55-
5632
[dependencies]
5733
clap = { version = "4.3.0", features = [
5834
"derive",
@@ -61,6 +37,13 @@ clap = { version = "4.3.0", features = [
6137
"usage",
6238
"error-context",
6339
], default-features = false }
40+
serde = { workspace = true }
41+
serde_json = { workspace = true }
42+
fil_actor_bundler = "7.1.1"
43+
fil_actors_runtime = { workspace = true }
44+
num-traits = { workspace = true }
45+
cid = { workspace = true }
46+
anyhow.workspace = true
6447

6548
[features]
6649
default = [] ## translates to mainnet

build.rs

Lines changed: 0 additions & 187 deletions
This file was deleted.

src/lib.rs

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)