about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/doc/add-attribute.md
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-03-30 08:33:29 +0000
committerbors <bors@rust-lang.org>2025-03-30 08:33:29 +0000
commitb9ea82b84ad02b4a9fe9e513626e65fb3f540838 (patch)
treeffa29438dbf29140c4ab573e083e74fc0afedf40 /compiler/rustc_codegen_gcc/doc/add-attribute.md
parent85f518ec8e14c9763d422f96f6d59f66b8c790cb (diff)
parentc4d642616d8fb74d9884bdc0b8df270d13739de3 (diff)
downloadrust-b9ea82b84ad02b4a9fe9e513626e65fb3f540838.tar.gz
rust-b9ea82b84ad02b4a9fe9e513626e65fb3f540838.zip
Auto merge of #137836 - madsmtm:openwrt-target-vendor, r=jieyouxu
Set `target_vendor = "openwrt"` on `mips64-openwrt-linux-musl`

OpenWRT is a Linux distribution for embedded network devices. The target name contains `openwrt`, so we should set `cfg(target_vendor = "openwrt")`.

This is similar to what other Linux distributions do (the only one in-tree is `x86_64-unikraft-linux-musl`, but that sets `target_vendor = "unikraft"`).

Motivation: To make correctly [parsing target names](https://github.com/rust-lang/cc-rs/pull/1413) simpler.

Fixes https://github.com/rust-lang/rust/issues/131165.

CC target maintainer `@Itus-Shield`
Diffstat (limited to 'compiler/rustc_codegen_gcc/doc/add-attribute.md')
0 files changed, 0 insertions, 0 deletions