Skip to content

Commit

Permalink
Fix Rustdocs (amd64, nightly)" CI check (#5727)
Browse files Browse the repository at this point in the history
* Remove unknown targets

* Fix parquet format lint
  • Loading branch information
alamb authored May 7, 2024
1 parent 7568178 commit 98784bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
12 changes: 0 additions & 12 deletions arrow-buffer/src/alloc/alignment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ pub const ALIGNMENT: usize = 1 << 5;
#[cfg(target_arch = "sparc64")]
pub const ALIGNMENT: usize = 1 << 6;

// On ARM cache line sizes are fixed. both v6 and v7.
// Need to add board specific or platform specific things later.
/// Cache and allocation multiple alignment size
#[cfg(target_arch = "thumbv6")]
pub const ALIGNMENT: usize = 1 << 5;
/// Cache and allocation multiple alignment size
#[cfg(target_arch = "thumbv7")]
pub const ALIGNMENT: usize = 1 << 5;

// Operating Systems cache size determines this.
// Currently no way to determine this without runtime inference.
/// Cache and allocation multiple alignment size
Expand All @@ -107,9 +98,6 @@ pub const ALIGNMENT: usize = 1 << 5;
// If you have smaller data with less padded functionality then use 32 with force option.
// - https://devtalk.nvidia.com/default/topic/803600/variable-cache-line-width-/
/// Cache and allocation multiple alignment size
#[cfg(target_arch = "nvptx")]
pub const ALIGNMENT: usize = 1 << 7;
/// Cache and allocation multiple alignment size
#[cfg(target_arch = "nvptx64")]
pub const ALIGNMENT: usize = 1 << 7;

Expand Down
3 changes: 2 additions & 1 deletion parquet/src/format.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions parquet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ pub mod basic;
/// Automatically generated code for reading parquet thrift definition.
// see parquet/CONTRIBUTING.md for instructions on regenerating
#[allow(clippy::derivable_impls, clippy::match_single_binding)]
// Don't try and format auto generated code
#[rustfmt::skip]
pub mod format;

#[macro_use]
Expand Down

0 comments on commit 98784bd

Please sign in to comment.