rust/tests/run-make/symbol-mangling-hashed/default_dylib.rs
许杰友 Jieyou Xu (Joe) 9734ebb9be tests: port symbol-mangling-hashed to rmake.rs
- Use `object` based test logic instead of processing `nm`
  human-readable textual output.
- Try to expand test coverage to not be limited to only linux + x86_64.

Co-authored-by: binarycat <binarycat@envs.net>
2025-01-31 04:30:51 +00:00

9 lines
158 B
Rust

#![crate_type = "dylib"]
extern crate hashed_dylib;
extern crate hashed_rlib;
pub fn ddhello() {
hashed_rlib::hrhello();
hashed_dylib::hdhello();
}