Skip to content

tests: Also gate f16::erfc() doctest with reliable_f16_math cfg#137167

Merged
bors merged 1 commit intorust-lang:masterfrom
martn3:reliable_f16_math-f16-erfc
Feb 18, 2025
Merged

tests: Also gate f16::erfc() doctest with reliable_f16_math cfg#137167
bors merged 1 commit intorust-lang:masterfrom
martn3:reliable_f16_math-f16-erfc

Conversation

@martn3
Copy link
Copy Markdown

@martn3 martn3 commented Feb 17, 2025

In #136324 the doctest for f16::erf() was gated with reliable_f16_math. Add the same gate on f16::erfc() to avoid:

rust_out.71e2e529d20ea47d-cgu.0:\
(.text._ZN8rust_out4main43_doctest_main_library_std_src_f16_rs_1321_017h485f3ffe6bf2a981E+0x38): \
undefined reference to `__gnu_h2f_ieee'

on MIPS (and maybe other architectures).

r? tgross35

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants