Fix warnings in cranelift-codegen docs builds (#5292)
This commit is contained in:
@@ -321,8 +321,8 @@ pub struct ExtFuncData {
|
||||
/// flag is best used when the target is known to be in the same unit of code generation, such
|
||||
/// as a Wasm module.
|
||||
///
|
||||
/// See the documentation for [`RelocDistance`](crate::machinst::RelocDistance) for more details. A
|
||||
/// `colocated` flag value of `true` implies `RelocDistance::Near`.
|
||||
/// See the documentation for `RelocDistance` for more details. A `colocated` flag value of
|
||||
/// `true` implies `RelocDistance::Near`.
|
||||
pub colocated: bool,
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ pub enum GlobalValueData {
|
||||
///
|
||||
/// If `true`, some backends may use relocation forms that have limited range: for example,
|
||||
/// a +/- 2^27-byte range on AArch64. See the documentation for
|
||||
/// [`RelocDistance`](crate::machinst::RelocDistance) for more details.
|
||||
/// `RelocDistance` for more details.
|
||||
colocated: bool,
|
||||
|
||||
/// Does this symbol refer to a thread local storage value?
|
||||
|
||||
Reference in New Issue
Block a user