Browse Source

cli: Avoid extra IDL generation during `verify` (#3398)

acheron 10 months ago
parent
commit
758ba84e4b
2 changed files with 3 additions and 1 deletions
  1. 2 0
      CHANGELOG.md
  2. 1 1
      cli/src/lib.rs

+ 2 - 0
CHANGELOG.md

@@ -97,6 +97,8 @@ The minor version will be incremented upon a breaking change and the patch versi
 - idl: Fix detecting false-positives from doc comments during module path conversion ([#3359](https://github.com/coral-xyz/anchor/pull/3359)).
 - cli: Remove passing the rent sysvar account to IDL instructions ([#3372](https://github.com/coral-xyz/anchor/pull/3372)).
 - lang: Fix `cpi` feature instructions not accounting for discriminator overrides ([#3376](https://github.com/coral-xyz/anchor/pull/3376)).
+- idl: Ignore compiler warnings during builds ([#3396](https://github.com/coral-xyz/anchor/pull/3396)).
+- cli: Avoid extra IDL generation during `verify` ([#3398](https://github.com/coral-xyz/anchor/pull/3398)).
 
 ### Breaking
 

+ 1 - 1
cli/src/lib.rs

@@ -2067,7 +2067,7 @@ fn verify(
     if !skip_build {
         build(
             cfg_override,
-            false,
+            true,
             None,
             None,
             true,