Rework the naked C-variadic example

For this example, rather than showing raw compiler output, which
contains a spill-and-reload sequence that is hard to follow, let's
write some assembly by hand.  And let's pick an example that motivates
the use of variadics.  We'll compute the dot product of a vector with
a projected scalar.  We'll support vector dimensions up to what can be
passed in with the `xmm` registers.
1 file changed
tree: bb5112964e4a01769a39335dd80ff164300adf30
  1. .cargo/
  2. .github/
  3. dev-guide/
  4. docs/
  5. src/
  6. theme/
  7. tools/
  8. .gitattributes
  9. .gitignore
  10. book.toml
  11. Cargo.lock
  12. Cargo.toml
  13. CONTRIBUTING.md
  14. LICENSE-APACHE
  15. LICENSE-MIT
  16. README.md
  17. reference.md
  18. rust-toolchain.toml
  19. rustfmt.toml
  20. triagebot.toml
README.md

The Rust Language Reference

This document is the primary reference for the Rust programming language.

Contributor docs

See the Reference Developer Guide for information on contributing to the Reference.