Skip to content

Commit

Permalink
Merge dff0942 into 5085545
Browse files Browse the repository at this point in the history
  • Loading branch information
esdrubal committed Jul 24, 2024
2 parents 5085545 + dff0942 commit 8b8c60b
Show file tree
Hide file tree
Showing 271 changed files with 5,307 additions and 6,515 deletions.
33 changes: 12 additions & 21 deletions Cargo.lock

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

11 changes: 7 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,17 @@ fuel-tx = "0.55.0"
fuel-vm = "0.55.0"

# Dependencies from the `fuels-rs` repository:
fuels-core = "0.65.1"
fuels-accounts = "0.65.1"
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "esdrubal/abi_changes2" }
fuels-accounts = { git = "https://github.com/FuelLabs/fuels-rs", branch = "esdrubal/abi_changes2" }

# Dependencies from the `forc-wallet` repository:
forc-wallet = "0.8.2"
forc-wallet = { git = "https://github.com/FuelLabs/forc-wallet", branch = "esdrubal/abi_changes" }

# Dependencies from the `fuel-abi-types` repository:
fuel-abi-types = "0.5.2"
fuel-abi-types = { git = "https://github.com/FuelLabs/fuel-abi-types", branch = "esdrubal/abi_changes2" }

[patch.crates-io]
fuel-abi-types = { git = "https://github.com/FuelLabs/fuel-abi-types", branch = "esdrubal/abi_changes2" }

[workspace.package]
edition = "2021"
Expand Down
1 change: 0 additions & 1 deletion docs/book/src/forc/manifest_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ The following fields can be provided for a build-profile:
* `terse` - Terse mode. Limited warning and error output, defaults to false.
* `time_phases` - Whether to output the time elapsed over each part of the compilation process, defaults to false.
* `include_tests` - Whether or not to include test functions in parsing, type-checking, and code generation. This is set to true by invocations like `forc test`, but defaults to false.
* `json_abi_with_callpaths` - Whether to generate a JSON ABI with `callpaths` instead of names for structs and enums, defaults to false. This option can help prevent conflicting struct or enum definitions by using the full path instead of the name.
* `error_on_warnings` - Whether to treat errors as warnings, defaults to false.

There are two default `[build-profile]` available with every manifest file. These are `debug` and `release` profiles. If you want to override these profiles, you can provide them explicitly in the manifest file like the following example:
Expand Down
5 changes: 0 additions & 5 deletions forc-pkg/src/manifest/build_profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ pub struct BuildProfile {
#[serde(default)]
pub include_tests: bool,
#[serde(default)]
pub json_abi_with_callpaths: bool,
#[serde(default)]
pub error_on_warnings: bool,
#[serde(default)]
pub reverse_results: bool,
Expand Down Expand Up @@ -64,7 +62,6 @@ impl BuildProfile {
time_phases: false,
metrics_outfile: None,
include_tests: false,
json_abi_with_callpaths: false,
error_on_warnings: false,
reverse_results: false,
optimization_level: OptLevel::Opt0,
Expand All @@ -88,7 +85,6 @@ impl BuildProfile {
time_phases: false,
metrics_outfile: None,
include_tests: false,
json_abi_with_callpaths: false,
error_on_warnings: false,
reverse_results: false,
optimization_level: OptLevel::Opt1,
Expand Down Expand Up @@ -161,7 +157,6 @@ mod tests {
time_phases: true,
metrics_outfile: Some("metrics_outfile".into()),
include_tests: true,
json_abi_with_callpaths: true,
error_on_warnings: true,
reverse_results: true,
optimization_level: OptLevel::Opt0,
Expand Down
Loading

0 comments on commit 8b8c60b

Please sign in to comment.