about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/ci
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-02-01 13:31:00 -0500
committerGitHub <noreply@github.com>2021-02-01 19:31:00 +0100
commit9fb6690ae99afc1d7d350953eb378629ab507bc2 (patch)
tree9eb474585a7724f6c2b94840849ace78b64c38b6 /src/doc/rustc-dev-guide/ci
parentefdb545ac72f76605b0209a239451de0c4457d0d (diff)
downloadrust-9fb6690ae99afc1d7d350953eb378629ab507bc2.tar.gz
rust-9fb6690ae99afc1d7d350953eb378629ab507bc2.zip
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.
Diffstat (limited to 'src/doc/rustc-dev-guide/ci')
-rwxr-xr-xsrc/doc/rustc-dev-guide/ci/check_line_lengths.sh1
1 files changed, 1 insertions, 0 deletions
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=( "$@" )