Skip to content

Commit fb78ca8

Browse files
committed
rustup: Fix comment about Darwin's uname -m
1 parent 01f2c67 commit fb78ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/rustup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ CFG_CPUTYPE=$(uname -m)
307307

308308
if [ $CFG_OSTYPE = Darwin -a $CFG_CPUTYPE = i386 ]
309309
then
310-
# Darwin's `uname -s` lies and always returns i386. We have to use sysctl
310+
# Darwin's `uname -m` lies and always returns i386. We have to use sysctl
311311
# instead.
312312
if sysctl hw.optional.x86_64 | grep -q ': 1'
313313
then

0 commit comments

Comments
 (0)