From 9fb6690ae99afc1d7d350953eb378629ab507bc2 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Mon, 1 Feb 2021 13:31:00 -0500 Subject: Document how to stabilize a library feature (#1036) * Move 'force-unstable-if-unmarked' to the bootstrapping chapter * Document how to stabilize a library feature Note that features can't be stabilized until they go through FCP and that FCP happens on the tracking issue, not the PR. * Fix wrong glob By default `**` behaves the same as two `*` side by side, i.e. it only globs file paths, not directories. `shopt -s globstar` needs to be set for it to mean a directory. I didn't notice this before now because `globstar` is set by default in interactive mode, but not otherwise. --- src/doc/rustc-dev-guide/ci/check_line_lengths.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/doc/rustc-dev-guide/ci') diff --git a/src/doc/rustc-dev-guide/ci/check_line_lengths.sh b/src/doc/rustc-dev-guide/ci/check_line_lengths.sh index 8ecb8a309b6..31cda5c65e9 100755 --- a/src/doc/rustc-dev-guide/ci/check_line_lengths.sh +++ b/src/doc/rustc-dev-guide/ci/check_line_lengths.sh @@ -10,6 +10,7 @@ if [ "$MAX_LINE_LENGTH" == "" ]; then fi if [ "$1" == "" ]; then + shopt -s globstar files=( src/**/*.md ) else files=( "$@" ) -- cgit 1.4.1-3-g733a5