about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-31 00:33:26 +0200
committerGitHub <noreply@github.com>2021-10-31 00:33:26 +0200
commitce48803bfe4743e22ec680a08418b3080b2823ad (patch)
treec4a943b781e42c786157eb607ff88516646514c7 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent0da75bcc9cdb3e9986fcf870e52a2303e5a29b7e (diff)
parent311a249f9d9e187918c30dbc845eea6964ac5684 (diff)
downloadrust-ce48803bfe4743e22ec680a08418b3080b2823ad.tar.gz
rust-ce48803bfe4743e22ec680a08418b3080b2823ad.zip
Rollup merge of #90404 - mkroening:hermit-kernel-no-os, r=joshtriplett
hermitkernel-target: Set OS to "none"

For our kernel targets, we should not set OS, as the kernel runs bare
metal without a circular dependency on std.

This also prepares us for unifying with
https://github.com/rust-lang/rust/pull/89062. This patch requires
libhermit-rs to change a `cfg`s from `target_os = "hermit"` to `target_os
= "none"`.

I tested this patch locally.

CC: `@stlankes`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions