Skip to content

Commit

Permalink
Setting up indirect access to external data for loongarch64-linux-{mu…
Browse files Browse the repository at this point in the history
…sl,ohos}

In issue #118053, the `loongarch64-unknown-linux-gnu` target needs indirection
to access external data, and so do the `loongarch64-unknown-linux-musl` and
`loongarch64-unknown-linux-ohos` targets.
  • Loading branch information
heiher committed Oct 11, 2024
1 parent 0321e73 commit 11bfb78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pub(crate) fn target() -> Target {
llvm_abiname: "lp64d".into(),
max_atomic_width: Some(64),
crt_static_default: false,
direct_access_external_data: Some(false),
..base::linux_musl::opts()
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub(crate) fn target() -> Target {
features: "+f,+d".into(),
llvm_abiname: "lp64d".into(),
max_atomic_width: Some(64),
direct_access_external_data: Some(false),
..base::linux_ohos::opts()
},
}
Expand Down

0 comments on commit 11bfb78

Please sign in to comment.