Skip to content

Commit 6080318

Browse files
author
Jethro Beekman
committed
Add additional human-readable cfg strings to rustdoc
1 parent 0bc0015 commit 6080318

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/clean/cfg.rs

+2
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ impl<'a> fmt::Display for Html<'a> {
370370
"pc" => "PC",
371371
"rumprun" => "Rumprun",
372372
"sun" => "Sun",
373+
"fortanix" => "Fortanix",
373374
_ => ""
374375
},
375376
("target_env", Some(env)) => match &*env.as_str() {
@@ -378,6 +379,7 @@ impl<'a> fmt::Display for Html<'a> {
378379
"musl" => "musl",
379380
"newlib" => "Newlib",
380381
"uclibc" => "uClibc",
382+
"sgx" => "SGX",
381383
_ => "",
382384
},
383385
("target_endian", Some(endian)) => return write!(fmt, "{}-endian", endian),

0 commit comments

Comments
 (0)