diff --git a/.github/workflows/build-so.yaml b/.github/workflows/build-so.yaml index 3210e68..1199ecf 100644 --- a/.github/workflows/build-so.yaml +++ b/.github/workflows/build-so.yaml @@ -36,11 +36,12 @@ jobs: - name: Install MUSL toolchain run: | sudo apt-get install -y musl-dev musl-tools + ln -s "/usr/bin/g++" "/usr/bin/musl-g++" rustup target add x86_64-unknown-linux-musl - name: Build extensions run: | cd jyafn-ext - make install + make export - name: Artifact update uses: actions/upload-artifact@v4 with: @@ -77,7 +78,7 @@ jobs: - name: Build extensions run: | cd jyafn-ext - make install + make export - name: Artifact update uses: actions/upload-artifact@v4 with: diff --git a/jyafn-ext/src/lib.rs b/jyafn-ext/src/lib.rs index cba8299..0e60be2 100644 --- a/jyafn-ext/src/lib.rs +++ b/jyafn-ext/src/lib.rs @@ -275,6 +275,7 @@ macro_rules! resource { macro_rules! method { ($safe_interface:ident) => { $crate::paste! { + #[allow(non_snake_case)] pub unsafe extern "C" fn []( resource_ptr: *const (), input_ptr: *const u8,