diff options
| author | Eric Huss <eric@huss.org> | 2022-04-25 17:05:58 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2022-04-25 17:05:58 -0700 |
| commit | 159b95d5bb96034528fc1dd61b6a626eafc449d9 (patch) | |
| tree | c1a367e0cd537d79117b50eb3f1f6b1029c127dd | |
| parent | 055bf4ccd521c2c2185166c86951be7be145727c (diff) | |
| download | rust-159b95d5bb96034528fc1dd61b6a626eafc449d9.tar.gz rust-159b95d5bb96034528fc1dd61b6a626eafc449d9.zip | |
Remove references to git.io
| -rw-r--r-- | compiler/rustc_target/src/asm/mips.rs | 3 | ||||
| -rw-r--r-- | library/std/src/sys/unix/process/process_common.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/compiler/rustc_target/src/asm/mips.rs b/compiler/rustc_target/src/asm/mips.rs index b1e8737b52b..4e7c2eb1bf8 100644 --- a/compiler/rustc_target/src/asm/mips.rs +++ b/compiler/rustc_target/src/asm/mips.rs @@ -43,7 +43,8 @@ impl MipsInlineAsmRegClass { } } -// The reserved registers are somewhat taken from <https://git.io/JUR1k#L150>. +// The reserved registers are somewhat taken from +// <https://github.com/llvm/llvm-project/blob/deb8f8bcf31540c657716ea5242183b0792702a1/llvm/lib/Target/Mips/MipsRegisterInfo.cpp#L150>. def_regs! { Mips MipsInlineAsmReg MipsInlineAsmRegClass { r2: reg = ["$2"], diff --git a/library/std/src/sys/unix/process/process_common.rs b/library/std/src/sys/unix/process/process_common.rs index 27bee714f5b..bca1b65a7fc 100644 --- a/library/std/src/sys/unix/process/process_common.rs +++ b/library/std/src/sys/unix/process/process_common.rs @@ -35,7 +35,8 @@ cfg_if::cfg_if! { // Android with api less than 21 define sig* functions inline, so it is not // available for dynamic link. Implementing sigemptyset and sigaddset allow us // to support older Android version (independent of libc version). -// The following implementations are based on https://git.io/vSkNf +// The following implementations are based on +// https://github.com/aosp-mirror/platform_bionic/blob/ad8dcd6023294b646e5a8288c0ed431b0845da49/libc/include/android/legacy_signal_inlines.h cfg_if::cfg_if! { if #[cfg(target_os = "android")] { pub unsafe fn sigemptyset(set: *mut libc::sigset_t) -> libc::c_int { |
