From c531a6e509dbb8b43f1c2d37f9d74a7b1bf7243d Mon Sep 17 00:00:00 2001 From: Marek Kaput Date: Mon, 22 Jan 2024 15:02:58 +0100 Subject: [PATCH] Prepare release `2.5.0` (#1077) Signed-off-by: Marek Kaput --- Cargo.lock | 152 +++++++++++------- Cargo.toml | 42 ++--- .../src/compilation/test_collector/plugin.rs | 9 +- .../src/metadata.rs | 1 + scarb/src/compiler/db.rs | 1 + 5 files changed, 120 insertions(+), 85 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c8d46e907..0aaec7e08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -562,8 +562,9 @@ dependencies = [ [[package]] name = "cairo-lang-casm" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3085455fa119efc82b887950b56d4d34a10348ae8a29f422101f2b199438ca6" dependencies = [ "cairo-lang-utils", "hashbrown 0.14.3", @@ -576,8 +577,9 @@ dependencies = [ [[package]] name = "cairo-lang-compiler" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "470c388cd2a281788c4dfec42821ba313a4e49e304fd2d2c9e66bf4300aa9f34" dependencies = [ "anyhow", "cairo-lang-defs", @@ -597,16 +599,18 @@ dependencies = [ [[package]] name = "cairo-lang-debug" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bab648e172102fc4a6c45d99b56d440684dbe89c9e707f3cfb32adb711818834" dependencies = [ "cairo-lang-utils", ] [[package]] name = "cairo-lang-defs" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0772c941cce18e5ebc64b138db5579fdd4ce776d8afb9d8d310df42e01d367a4" dependencies = [ "cairo-lang-debug", "cairo-lang-diagnostics", @@ -621,8 +625,9 @@ dependencies = [ [[package]] name = "cairo-lang-diagnostics" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f34d641d9b6200c1d79c2da92ab14dcfad211676cd7775d67028f1132581da2b" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -632,8 +637,9 @@ dependencies = [ [[package]] name = "cairo-lang-eq-solver" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "860afc2931051a91866c64058b1f682ab3b1d6bd67d07153261de63536659542" dependencies = [ "cairo-lang-utils", "good_lp", @@ -641,8 +647,9 @@ dependencies = [ [[package]] name = "cairo-lang-filesystem" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fe3c207886492581816d744a81f2ee81d2fee6f7326b62caa7c5f99fd658887" dependencies = [ "cairo-lang-debug", "cairo-lang-utils", @@ -654,8 +661,9 @@ dependencies = [ [[package]] name = "cairo-lang-formatter" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9bf3f3019c94f09cc4a6da1e89055e152e5d6e68096093ead4943e232918853" dependencies = [ "anyhow", "cairo-lang-diagnostics", @@ -674,8 +682,9 @@ dependencies = [ [[package]] name = "cairo-lang-language-server" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7948840ee259da4f9a80cdb5f30d102127f620544089e46193771129d8bfb78" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -703,8 +712,9 @@ dependencies = [ [[package]] name = "cairo-lang-lowering" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fff23dfe3e4de8613a7044cb0a313826b049cc8b8a89aa6dffed326b3d0c6405" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -727,8 +737,9 @@ dependencies = [ [[package]] name = "cairo-lang-parser" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef5ad088b73ec17360766e1149de6a09f43cfd610ff54f19c6c02bb39b05a725" dependencies = [ "cairo-lang-diagnostics", "cairo-lang-filesystem", @@ -746,8 +757,9 @@ dependencies = [ [[package]] name = "cairo-lang-plugins" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22353bef64e394ffe12d21d6c1aa61894af1faa8cf511c6675cbce0c8cc3065e" dependencies = [ "cairo-lang-defs", "cairo-lang-diagnostics", @@ -764,8 +776,9 @@ dependencies = [ [[package]] name = "cairo-lang-proc-macros" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49bc7b990207a91e756c2045015cd94ba366ed9fea467ab45358b4ed9e046326" dependencies = [ "cairo-lang-debug", "quote", @@ -774,8 +787,9 @@ dependencies = [ [[package]] name = "cairo-lang-project" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa408032bab9d665d02e5a5b60a5fe3414abb4ea49f7de4cdf606fec008b31e8" dependencies = [ "cairo-lang-filesystem", "cairo-lang-utils", @@ -787,8 +801,9 @@ dependencies = [ [[package]] name = "cairo-lang-runner" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ab6ae5276016583e2912a9d323c0895a616ba2680977bc0f3f888074ae33a14" dependencies = [ "ark-ff", "ark-secp256k1", @@ -815,8 +830,9 @@ dependencies = [ [[package]] name = "cairo-lang-semantic" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea038491d2d6a46f4cbc053713c2a0a4aeffeb76d97ccea18f7260e459b4dc19" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -839,8 +855,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ba35ff92b43872a8f89a8745e6fa911d964b47c145011d96b2d8ebf1aad8fa3" dependencies = [ "anyhow", "cairo-felt", @@ -864,8 +881,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-ap-change" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac25af35be8ee9b47d8db4d39b2c9359fc8013acb8ed933cc751bbb54e8fa78e" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -878,8 +896,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-gas" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e510821a12693b8486614d0a43b3e776163bc9dbeedcd9a9d949124a6789271c" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -892,8 +911,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-generator" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a5b905f46390e4d5d26bfb632cdb747e8a2fc31866b39a082289d2cc7fa348c" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -914,8 +934,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-to-casm" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa4bdbacf02bf4b13c2b891e2396567ad733f20d7e59526255e07c897a14405" dependencies = [ "assert_matches", "cairo-felt", @@ -934,8 +955,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-type-size" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "854d43c5e1c0cf7e24cc58e665b60f1bb3d603615c72e13aad872a9548b44359" dependencies = [ "cairo-lang-sierra", "cairo-lang-utils", @@ -943,8 +965,9 @@ dependencies = [ [[package]] name = "cairo-lang-starknet" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09fe48d254ffdce63c5f6eb001d663d4d9b77c3f30a4bcb0124be6ac8177830f" dependencies = [ "anyhow", "cairo-felt", @@ -979,8 +1002,9 @@ dependencies = [ [[package]] name = "cairo-lang-syntax" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "983fa8cc3d92ac4d80cba2a6a1511a03f71384a953464ccf7809cddcb1714e86" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -994,8 +1018,9 @@ dependencies = [ [[package]] name = "cairo-lang-syntax-codegen" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa5e57952da2c330df7e63181d57b80e639096e061dff2c30730b7f7a124dda" dependencies = [ "genco", "xshell", @@ -1003,8 +1028,9 @@ dependencies = [ [[package]] name = "cairo-lang-test-plugin" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3654b0312ed1fc61761526fc0cc4ebfa9120924b0023a1b4f7dd75ac96d4888" dependencies = [ "anyhow", "cairo-felt", @@ -1029,8 +1055,9 @@ dependencies = [ [[package]] name = "cairo-lang-test-runner" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71da672748649b35ac731c83c3e475b6e556503c9c7fc5c87cafb3885501ca4b" dependencies = [ "anyhow", "cairo-felt", @@ -1050,8 +1077,9 @@ dependencies = [ [[package]] name = "cairo-lang-utils" -version = "2.4.3" -source = "git+https://github.com/starkware-libs/cairo.git?rev=674984e3841566caba7f8089491c06a9a83c4599#674984e3841566caba7f8089491c06a9a83c4599" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71fa45c5e537470c11f620576e80d1f3a8d0096e7d7070fcc3248fa960a186b6" dependencies = [ "env_logger", "hashbrown 0.14.3", @@ -4412,7 +4440,7 @@ dependencies = [ [[package]] name = "scarb" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", "assert_fs", @@ -4494,7 +4522,7 @@ dependencies = [ [[package]] name = "scarb-build-metadata" -version = "2.4.3" +version = "2.5.0" dependencies = [ "cargo_metadata", "semver", @@ -4502,7 +4530,7 @@ dependencies = [ [[package]] name = "scarb-cairo-language-server" -version = "2.4.3" +version = "2.5.0" dependencies = [ "cairo-lang-language-server", "cairo-lang-utils", @@ -4512,7 +4540,7 @@ dependencies = [ [[package]] name = "scarb-cairo-run" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", "assert_fs", @@ -4534,7 +4562,7 @@ dependencies = [ [[package]] name = "scarb-cairo-test" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -4580,7 +4608,7 @@ dependencies = [ [[package]] name = "scarb-snforge-test-collector" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", "assert_fs", diff --git a/Cargo.toml b/Cargo.toml index d1b53db47..9a64db6a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ members = [ "resolver" = "2" [workspace.package] -version = "2.4.3" +version = "2.5.0" edition = "2021" authors = ["Software Mansion "] @@ -31,26 +31,26 @@ assert_fs = "1" async-trait = "0.1" axum = { version = "0.6", features = ["http2"] } cairo-felt = "0.9.1" -cairo-lang-casm = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-compiler = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-diagnostics = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-debug = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-defs = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-filesystem = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-formatter = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-language-server = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-lowering = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-project = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-runner = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-semantic = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-sierra = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-sierra-generator = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-sierra-to-casm = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-starknet = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-syntax = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-test-plugin = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-test-runner = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599" } -cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo.git", rev = "674984e3841566caba7f8089491c06a9a83c4599", features = ["env_logger"] } +cairo-lang-casm = "2.5.0" +cairo-lang-compiler = "2.5.0" +cairo-lang-debug = "2.5.0" +cairo-lang-defs = "2.5.0" +cairo-lang-diagnostics = "2.5.0" +cairo-lang-filesystem = "2.5.0" +cairo-lang-formatter = "2.5.0" +cairo-lang-language-server = "2.5.0" +cairo-lang-lowering = "2.5.0" +cairo-lang-project = "2.5.0" +cairo-lang-runner = "2.5.0" +cairo-lang-semantic = "2.5.0" +cairo-lang-sierra = "2.5.0" +cairo-lang-sierra-generator = "2.5.0" +cairo-lang-sierra-to-casm = "2.5.0" +cairo-lang-starknet = "2.5.0" +cairo-lang-syntax = "2.5.0" +cairo-lang-test-plugin = "2.5.0" +cairo-lang-test-runner = "2.5.0" +cairo-lang-utils = { version = "2.5.0", features = ["env_logger"] } camino = { version = "1", features = ["serde1"] } cargo_metadata = ">=0.18" clap = { version = "4", features = ["derive", "env", "string"] } diff --git a/extensions/scarb-snforge-test-collector/src/compilation/test_collector/plugin.rs b/extensions/scarb-snforge-test-collector/src/compilation/test_collector/plugin.rs index 4da59e18e..837f6a410 100644 --- a/extensions/scarb-snforge-test-collector/src/compilation/test_collector/plugin.rs +++ b/extensions/scarb-snforge-test-collector/src/compilation/test_collector/plugin.rs @@ -1,4 +1,4 @@ -use cairo_lang_defs::plugin::{MacroPlugin, PluginResult}; +use cairo_lang_defs::plugin::{MacroPlugin, MacroPluginMetadata, PluginResult}; use cairo_lang_semantic::plugin::PluginSuite; use cairo_lang_syntax::attribute::structured::AttributeListStructurize; use cairo_lang_syntax::node::ast; @@ -13,7 +13,12 @@ use super::forge_try_extract_test_config; struct TestPlugin; impl MacroPlugin for TestPlugin { - fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: ast::ModuleItem) -> PluginResult { + fn generate_code( + &self, + db: &dyn SyntaxGroup, + item_ast: ast::ModuleItem, + _metadata: &MacroPluginMetadata<'_>, + ) -> PluginResult { PluginResult { code: None, diagnostics: if let ast::ModuleItem::FreeFunction(free_func_ast) = item_ast { diff --git a/extensions/scarb-snforge-test-collector/src/metadata.rs b/extensions/scarb-snforge-test-collector/src/metadata.rs index d863154a0..d7e1bc3e0 100644 --- a/extensions/scarb-snforge-test-collector/src/metadata.rs +++ b/extensions/scarb-snforge-test-collector/src/metadata.rs @@ -122,6 +122,7 @@ impl CompilationUnit<'_> { } else { Edition::default() }, + cfg_set: None, // TODO (#1040): replace this with a macro experimental_features: ExperimentalFeaturesConfig { negative_impls: pkg diff --git a/scarb/src/compiler/db.rs b/scarb/src/compiler/db.rs index 493694917..ac00bf3ee 100644 --- a/scarb/src/compiler/db.rs +++ b/scarb/src/compiler/db.rs @@ -98,6 +98,7 @@ fn build_project_config(unit: &CompilationUnit) -> Result { component.cairo_package_name(), CrateSettings { edition: component.package.manifest.edition, + cfg_set: None, // TODO (#1040): replace this with a macro experimental_features: cairo_lang_filesystem::db::ExperimentalFeaturesConfig { negative_impls: experimental_features