From dd10184a9805e9958c58cbf2ba5bd464645f9b6d Mon Sep 17 00:00:00 2001 From: jordy25519 Date: Wed, 25 Sep 2024 21:27:55 +0800 Subject: [PATCH] test output --- .github/workflows/build.yml | 3 ++- crates/src/drift_idl.rs | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a31814..b245dd7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,8 +58,9 @@ jobs: - name: Test run: | ls -al $CARGO_DRIFT_FFI_PATH - rustup run $CI_NIGHTLY_TOOLCHAIN cargo test --all + rustup run $CI_NIGHTLY_TOOLCHAIN cargo test --all --no-fail-fast -- --nocapture env: + RUST_LOG: info TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }} RUSTFLAGS: "-Zcodegen-backend=cranelift" CARGO_DRIFT_FFI_PATH: "${{ github.workspace }}/local_libs" diff --git a/crates/src/drift_idl.rs b/crates/src/drift_idl.rs index 6b0e8e7..e824aca 100644 --- a/crates/src/drift_idl.rs +++ b/crates/src/drift_idl.rs @@ -2,6 +2,7 @@ #![doc = r""] #![doc = r" Auto-generated IDL types, manual edits do not persist (see `crates/drift-idl-gen`)"] #![doc = r""] +use self::traits::ToAccountMetas; use anchor_lang::{ prelude::{ account, @@ -11,8 +12,6 @@ use anchor_lang::{ Discriminator, }; use solana_sdk::{instruction::AccountMeta, pubkey::Pubkey}; - -use self::traits::ToAccountMetas; pub mod traits { use solana_sdk::instruction::AccountMeta; #[doc = r" This is distinct from the anchor version of the trait"] @@ -1782,9 +1781,8 @@ pub mod instructions { impl anchor_lang::InstructionData for InitializePythPullOracle {} } pub mod types { - use std::ops::Mul; - use super::*; + use std::ops::Mul; #[doc = r" backwards compatible u128 deserializing data from rust <=1.76.0 when u/i128 was 8-byte aligned"] #[doc = r" https://solana.stackexchange.com/questions/7720/using-u128-without-sacrificing-alignment-8"] #[derive(