Skip to content

Commit

Permalink
Mention the rust version the spec targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Jan 16, 2025
1 parent 065066e commit 7d1dec4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

# -- General configuration ---------------------------------------------------

rst_prolog = ".. include:: ../version.rst"

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
Expand Down
2 changes: 1 addition & 1 deletion src/general.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Scope

:dp:`fls_srdq4mota5pr`
This document specifies the form and meaning of programs written in the
programming language Rust, as implemented by the :t:`rustc` compiler shipped
programming language Rust, as implemented by the :t:`rustc` |spec_version| compiler shipped
with Ferrocene. It documents the current understanding for the purposes of
compiler validation. As such, given any doubt, it prefers documenting behavior
of :t:`rustc` as included in the associated Ferrocene release over claiming
Expand Down
3 changes: 3 additions & 0 deletions version.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.. SPDX-License-Identifier: MIT OR Apache-2.0
SPDX-FileCopyrightText: The Ferrocene Developers
.. |spec_version| replace:: 1.83.0

0 comments on commit 7d1dec4

Please sign in to comment.