Skip to content

Commit 98784bd

Browse files
authored
Fix Rustdocs (amd64, nightly)" CI check (#5727)
* Remove unknown targets * Fix parquet format lint
1 parent 7568178 commit 98784bd

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

arrow-buffer/src/alloc/alignment.rs

-12
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,6 @@ pub const ALIGNMENT: usize = 1 << 5;
8080
#[cfg(target_arch = "sparc64")]
8181
pub const ALIGNMENT: usize = 1 << 6;
8282

83-
// On ARM cache line sizes are fixed. both v6 and v7.
84-
// Need to add board specific or platform specific things later.
85-
/// Cache and allocation multiple alignment size
86-
#[cfg(target_arch = "thumbv6")]
87-
pub const ALIGNMENT: usize = 1 << 5;
88-
/// Cache and allocation multiple alignment size
89-
#[cfg(target_arch = "thumbv7")]
90-
pub const ALIGNMENT: usize = 1 << 5;
91-
9283
// Operating Systems cache size determines this.
9384
// Currently no way to determine this without runtime inference.
9485
/// Cache and allocation multiple alignment size
@@ -107,9 +98,6 @@ pub const ALIGNMENT: usize = 1 << 5;
10798
// If you have smaller data with less padded functionality then use 32 with force option.
10899
// - https://devtalk.nvidia.com/default/topic/803600/variable-cache-line-width-/
109100
/// Cache and allocation multiple alignment size
110-
#[cfg(target_arch = "nvptx")]
111-
pub const ALIGNMENT: usize = 1 << 7;
112-
/// Cache and allocation multiple alignment size
113101
#[cfg(target_arch = "nvptx64")]
114102
pub const ALIGNMENT: usize = 1 << 7;
115103

parquet/src/format.rs

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

parquet/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ pub mod basic;
107107
/// Automatically generated code for reading parquet thrift definition.
108108
// see parquet/CONTRIBUTING.md for instructions on regenerating
109109
#[allow(clippy::derivable_impls, clippy::match_single_binding)]
110+
// Don't try and format auto generated code
111+
#[rustfmt::skip]
110112
pub mod format;
111113

112114
#[macro_use]

0 commit comments

Comments
 (0)