diff --git a/src/changelog.rst b/src/changelog.rst index dcc84327..5124d3e2 100644 --- a/src/changelog.rst +++ b/src/changelog.rst @@ -71,10 +71,9 @@ Language changes in Rust 1.79.0 * New section: :ref:`fls_8JB3SJqamdpU` * New glossary entry: :t:`crate type` * New paragraphs: :p:`fls_unxalgMqIr3v`, :p:`fls_e7jGvXvTsFpC`, :p:`fls_kQiJPwb2Hjcc`, :p:`fls_OyFwBtDGVimT` - * Updated glossary entries: :t:`binary crate`, :t:`proc-macro crate` - * Updated paragraphs: :p:`fls_9ub6ks8qrang`, :p:`fls_Mf62VqAhoZ3c` + * Updated glossary entries: :t:`binary crate`, :t:`library crate`, :t:`proc-macro crate` + * Updated paragraphs: :p:`fls_9ub6ks8qrang`, :p:`fls_Mf62VqAhoZ3c`, :p:`fls_d9nn4yuiw1ja` * Moved paragraph: :p:`fls_sbGnkm8Ephiu` - * Removed paragraph about library crates * `Check return types of function types for well-formedness `_ diff --git a/src/glossary.rst b/src/glossary.rst index c355290c..a0c85ede 100644 --- a/src/glossary.rst +++ b/src/glossary.rst @@ -3744,6 +3744,15 @@ lexical element A :dt:`lexical element` is the most basic syntactic element in program text. +.. _fls_r1sk7vdgckym: + +library crate +^^^^^^^^^^^^^ + +:dp:`fls_3m8lg4mdc2x0` +A :dt:`library crate` is a :t:`crate` whose :t:`crate type` is ``lib``, ``rlib``, +``staticlib``, ``dylib``, or ``cdylib``. + .. _fls_vdhaa61g6kah: lifetime diff --git a/src/program-structure-and-compilation.rst b/src/program-structure-and-compilation.rst index adbc6353..e8ef612b 100644 --- a/src/program-structure-and-compilation.rst +++ b/src/program-structure-and-compilation.rst @@ -138,6 +138,10 @@ The :t:`function` in scope of a :t:`binary crate`'s :t:`crate root module` under the :t:`name` ``main`` with a :t:`main function signature` is the :t:`binary crate`'s :t:`program entry point`. +:dp:`fls_d9nn4yuiw1ja` +A :t:`library crate` is a :t:`crate` whose :t:`crate type` is ``lib``, ``rlib``, +``staticlib``, ``dylib``, or ``cdylib``. + :dp:`fls_Mf62VqAhoZ3c` A :t:`proc-macro crate` is a :t:`crate` whose :t:`crate type` is ``proc-macro``.