Skip to content

Commit

Permalink
Prepare release 2.6.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
maciektr committed Feb 14, 2024
1 parent 863bad6 commit f9e2853
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 32 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 23 additions & 23 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ members = [
"resolver" = "2"

[workspace.package]
version = "2.6.0-rc.0"
version = "2.6.0-rc.1"
edition = "2021"

authors = ["Software Mansion <[email protected]>"]
Expand All @@ -33,28 +33,28 @@ assert_fs = "1"
async-trait = "0.1"
axum = { version = "0.6", features = ["http2"] }
cairo-felt = "0.9.1"
cairo-lang-casm = "2.6.0-rc.0"
cairo-lang-compiler = "2.6.0-rc.0"
cairo-lang-debug = "2.6.0-rc.0"
cairo-lang-defs = "2.6.0-rc.0"
cairo-lang-diagnostics = "2.6.0-rc.0"
cairo-lang-filesystem = "2.6.0-rc.0"
cairo-lang-formatter = "2.6.0-rc.0"
cairo-lang-language-server = "2.6.0-rc.0"
cairo-lang-lowering = "2.6.0-rc.0"
cairo-lang-project = "2.6.0-rc.0"
cairo-lang-runner = "2.6.0-rc.0"
cairo-lang-semantic = "2.6.0-rc.0"
cairo-lang-sierra = "2.6.0-rc.0"
cairo-lang-sierra-generator = "2.6.0-rc.0"
cairo-lang-sierra-to-casm = "2.6.0-rc.0"
cairo-lang-sierra-type-size = "2.6.0-rc.0"
cairo-lang-starknet = "2.6.0-rc.0"
cairo-lang-starknet-classes = "2.6.0-rc.0"
cairo-lang-syntax = "2.6.0-rc.0"
cairo-lang-test-plugin = "2.6.0-rc.0"
cairo-lang-test-runner = "2.6.0-rc.0"
cairo-lang-utils = { version = "2.6.0-rc.0", features = ["env_logger"] }
cairo-lang-casm = "2.6.0-rc.1"
cairo-lang-compiler = "2.6.0-rc.1"
cairo-lang-debug = "2.6.0-rc.1"
cairo-lang-defs = "2.6.0-rc.1"
cairo-lang-diagnostics = "2.6.0-rc.1"
cairo-lang-filesystem = "2.6.0-rc.1"
cairo-lang-formatter = "2.6.0-rc.1"
cairo-lang-language-server = "2.6.0-rc.1"
cairo-lang-lowering = "2.6.0-rc.1"
cairo-lang-project = "2.6.0-rc.1"
cairo-lang-runner = "2.6.0-rc.1"
cairo-lang-semantic = "2.6.0-rc.1"
cairo-lang-sierra = "2.6.0-rc.1"
cairo-lang-sierra-generator = "2.6.0-rc.1"
cairo-lang-sierra-to-casm = "2.6.0-rc.1"
cairo-lang-sierra-type-size = "2.6.0-rc.1"
cairo-lang-starknet = "2.6.0-rc.1"
cairo-lang-starknet-classes = "2.6.0-rc.1"
cairo-lang-syntax = "2.6.0-rc.1"
cairo-lang-test-plugin = "2.6.0-rc.1"
cairo-lang-test-runner = "2.6.0-rc.1"
cairo-lang-utils = { version = "2.6.0-rc.1", features = ["env_logger"] }
camino = { version = "1", features = ["serde1"] }
cargo_metadata = ">=0.18"
clap = { version = "4", features = ["derive", "env", "string"] }
Expand Down
4 changes: 4 additions & 0 deletions extensions/scarb-snforge-test-collector/src/metadata.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use anyhow::{anyhow, ensure, Context, Result};
use cairo_lang_filesystem::cfg::{Cfg, CfgSet};
use cairo_lang_filesystem::db::{CrateSettings, Edition, ExperimentalFeaturesConfig};
use cairo_lang_project::AllCratesConfig;
use cairo_lang_utils::ordered_hash_map::OrderedHashMap;
Expand Down Expand Up @@ -189,6 +190,9 @@ fn get_crate_settings_for_package(
negative_impls: package
.experimental_features
.contains(&String::from("negative_impls")),
coupons: package
.experimental_features
.contains(&String::from("coupons")),
};

CrateSettings {
Expand Down
4 changes: 1 addition & 3 deletions scarb/src/compiler/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ fn build_project_config(unit: &CompilationUnit) -> Result<ProjectConfig> {
experimental_features: cairo_lang_filesystem::db::ExperimentalFeaturesConfig {
negative_impls: experimental_features
.contains(&SmolStr::new_inline("negative_impls")),
// TODO(maciektr): Fix corelib config and remove the override.
coupons: component.package.id.is_core()
|| experimental_features.contains(&SmolStr::new_inline("coupons")),
coupons: experimental_features.contains(&SmolStr::new_inline("coupons")),
},
},
)
Expand Down

0 comments on commit f9e2853

Please sign in to comment.