does-it-build/templates/nightly.html
Noratrieb df486c20f8 Use cargo check -Zbuild-std instead of cargo miri setup
This should be more reliable (not building with `cfg(miri)` and more
accurately knowing whether a target supports std).

Known targets affected by this change:
- cygwin: should now build since it only breaks in `cfg(miri)`
- i686-pc-nto-qnx700: officially doesn't support std

closes #4
2025-07-05 14:21:26 +02:00

96 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{nightly}} build history</title>
<link rel="stylesheet" href="/index.css" />
</head>
<body>
<h1>Nightly build state for {{nightly}}</h1>
<a href="/">Home</a>
<p>
This contains the status of this nightly. Core is built with
<code>cargo build --release -Zbuild-std=core</code>. This checks that
codegen/linking of core works, but does not check whether std builds.
</p>
<p>
std is being built with <code>cargo check -Zbuild-std</code>. If a target
does not support std, the std column represents core/alloc. This checks
that std checks (on targets that have it) but does not check whether
codegen/linking works.
For older builds, <code>cargo miri setup</code> was used instead.
</p>
{% if let Some(core_broken) = core_broken %}
<p>
⚠️ The core build is broken in general for this nightly, so no data is available ⚠️
</p>
<pre>
{{core_broken}}
</pre>
{% endif %}
{% if let Some(std_broken) = std_broken %}
<p>
⚠️ The std build is broken for this nightly, so no data is available ⚠️
</p>
<pre>
{{std_broken}}
</pre>
{% endif %}
<p>
<dl>
<dt>core failures</dt>
<dd>{{core_failures}}</dd>
<dt>std failures</dt>
<dd>{{std_failures}}</dd>
</dl>
</p>
{% if showing_failures %}
<p>
<a href="/nightly?nightly={{nightly}}">show all</a>
</p>
{% else %}
<p>
<a href="/nightly?nightly={{nightly}}&failures=true">filter failures</a>
</p>
{% endif %}
<table>
<tr>
<th>nightly</th>
<th>core<br>codegen</th>
<th>std<br>check</th>
</tr>
{% for build in builds %}
<tr>
<td><a href="/target?target={{build.0}}">{{ build.0 }}</a></td>
{% match build.1 %} {% when Some with (build) %}
<td class="build-cell">
<a class="build-info-a" href="{{ build.link() }}">
{{ build.status.to_emoji() }}
</a>
</td>
{% when None %}
<td class="missing"></td>
{% endmatch %} {% match build.2 %} {% when Some with (build) %}
<td class="build-cell">
<a class="build-info-a" href="{{ build.link() }}">
<span> {{ build.status.to_emoji() }} </span>
</a>
</td>
{% when None %}
<td class="missing"></td>
{% endmatch %}
</tr>
{% endfor %}
</table>
<footer class="footer">
<a href="https://github.com/Noratrieb/does-it-build">
does-it-build {{version}}
</a>
</footer>
</body>
</html>