sarutak opened a new pull request, #2354:
URL: https://github.com/apache/avro/pull/2354

   AVRO-3800
   
   ## What is the purpose of the change
   
   This PR fixes an issue that [profile.release] declared in 
`wasm-demo/Cargo.toml` is ignored.
   In that section, `opt-level = "s"` is specified but it's ignored.
   
   ```
   $ cargo test -v --test demos --release
   ...
        Running `rustc --crate-name hello_wasm ... opt-level=3 ...`
        Running `rustc --crate-name demos ... opt-level=3 ...`
   ```
   
   To fix this issue, this change moves the section to `Cargo.toml` of the root 
package.
   
   ## Verifying this change
   
   After this change is applied, we can confirm that opt-level is changed as 
expected.
   ```
   $ cargo test -v --test demos --release
   ...
        Running `rustc --crate-name hello_wasm ... opt-level=s ...`
        Running `rustc --crate-name demos ... opt-level=s ...`
   ```
   
   ## Documentation
   
   No new docs as this PR introduces no new features.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to