You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch to String before stabilization, as the hostname is guaranteed to be valid ASCII (OsString is therefore unnecessary).
Stabilization PR
Unresolved Questions
Will using netc be fine for all targets that support std, or do we need to do more here? I think so, since any new targets without a libc can just expose the same function signature under netc (gethostname(ptr, len))
Activity
Rollup merge of rust-lang#146937 - joboet:gethostname, r=Mark-Simulacrum
Rollup merge of rust-lang#146937 - joboet:gethostname, r=Mark-Simulacrum
Unrolled build for #146937
Rollup merge of rust-lang#146937 - joboet:gethostname, r=Mark-Simulacrum
Rollup merge of rust-lang#158480 - RalfJung:hostname-test, r=joboet
Unrolled build for #158480
Rollup merge of rust-lang#158563 - PaulDance:patches/fix-win7-hostnam…
Unrolled build for #158563
feat(fish): resolve dir and hostname instead of emitting escapes
feat(fish): resolve dir and hostname instead of emitting escapes
feat(fish): resolve dir and hostname instead of emitting escapes