Skip to main content
Ctrl+K

Fadhil Journal documentation

  • ARM arch
  • Backend
  • Bare Metal
  • Cryptography
  • Database
    • Dockerfile
    • Gallery
    • Math
    • Netfilter
    • Other
    • PHP
    • Rust
    • Server
    • Sysprog
  • ARM arch
  • Backend
  • Bare Metal
  • Cryptography
  • Database
  • Dockerfile
  • Gallery
  • Math
  • Netfilter
  • Other
  • PHP
  • Rust
  • Server
  • Sysprog

Section Navigation

  • Rust buffer advance
  • Rust bytes has_remaining() method
  • Rust cursor, How it works
  • How Rust into() Box + Error analysis
  • miri rust setup
  • postgresql - get() generic function signature
  • Rust stuff
  • Rust build logging
  • Rust RESP get_line analysis
  • Rust tokio-postgres connection config example
  • Rust tonic gRPC server build process
  • Rust
  • Rust build logging

Rust build logging#

rust build usually don’t show any output if you try to println!() in build.rs, in order to force this, use

println!("cargo:warning=start build!");

result

warning: [email protected]: Something went wrong!

all docs: https://doc.rust-lang.org/cargo/reference/build-scripts.html

previous

Rust stuff

next

Rust RESP get_line analysis

Edit on GitHub

This Page

  • Show Source

© Copyright 2025, Fadhil Riyanto.

Created using Sphinx 7.3.7.

About me
Contact

Built with the PyData Sphinx Theme 0.16.1.