rust.conf 642 B

1234567891011121314151617181920
  1. #!/hint/bash
  2. # shellcheck disable=2034
  3. #
  4. # /etc/makepkg.conf.d/rust.conf
  5. #
  6. #########################################################################
  7. # RUST LANGUAGE SUPPORT
  8. #########################################################################
  9. # Flags used for the Rust compiler, similar in spirit to CFLAGS. Read
  10. # linkman:rustc[1] for more details on the available flags.
  11. RUSTFLAGS="-Cforce-frame-pointers=yes"
  12. # Additional compiler flags appended to `RUSTFLAGS` for use in debugging.
  13. # Usually this would include: ``-C debuginfo=2''. Read linkman:rustc[1] for
  14. # more details on the available flags.
  15. DEBUG_RUSTFLAGS="-C debuginfo=2"