Skip to content

Commit ef4aac3

Browse files
authored
Fix Rust linting issues (#5659)
Rust lint CI step fails on all PRs at the moment. This PR fixes it - I don't know if it's the optimal way, but it fixes the problem so I suggest to merge and revisit if needed. FYI: @rroelke --- TYPE: NO_HISTORY
1 parent 80f5633 commit ef4aac3

File tree

7 files changed

+13
-0
lines changed

7 files changed

+13
-0
lines changed

.github/workflows/check-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: check-lint
22
on:
3+
workflow_dispatch:
34
push:
45
branches:
56
- main

tiledb/oxidize/cxx-interface/src/sm/array_schema/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#[cxx::bridge]
22
mod ffi {
3+
#![allow(unused_attributes)]
4+
35
#[namespace = "tiledb::sm"]
46
extern "C++" {
57
type Datatype = crate::sm::enums::Datatype;

tiledb/oxidize/cxx-interface/src/sm/enums/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#[cxx::bridge]
22
mod ffi {
3+
#![allow(unused_attributes)]
4+
35
#[namespace = "tiledb::sm"]
46
#[derive(Copy, Debug)]
57
enum ArrayType {

tiledb/oxidize/cxx-interface/src/sm/misc/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#[cxx::bridge]
22
mod ffi {
3+
#![allow(unused_attributes)]
4+
35
#[namespace = "tiledb::sm"]
46
unsafe extern "C++" {
57
include!("tiledb/sm/misc/types.h");

tiledb/oxidize/cxx-interface/src/sm/query/ast/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#[cxx::bridge]
22
mod ffi {
3+
#![allow(unused_attributes)]
4+
35
#[namespace = "tiledb::sm"]
46
extern "C++" {
57
type ByteVecValue = crate::sm::misc::ByteVecValue;

tiledb/oxidize/cxx-interface/src/sm/query/readers/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#[cxx::bridge]
22
mod ffi {
3+
#![allow(unused_attributes)]
4+
35
#[namespace = "tiledb::sm"]
46
extern "C++" {
57
type Tile = crate::sm::tile::Tile;

tiledb/oxidize/cxx-interface/src/sm/tile/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#[cxx::bridge]
22
mod ffi {
3+
#![allow(unused_attributes)]
4+
35
#[namespace = "tiledb::sm"]
46
unsafe extern "C++" {
57
include!("tiledb/sm/tile/tile.h");

0 commit comments

Comments
 (0)