Compare commits

...

1 Commits

Author SHA1 Message Date
Paolo Tranquilli
840d166efe WIP: integration test 2025-07-01 14:52:03 +02:00
5 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
[workspace]
[package]
name = "exe"
version = "0.1.0"
edition = "2021" # replaced in test
[dependencies]
lib = { path = "../lib" }

View File

@@ -0,0 +1,3 @@
fn main() {
lib::hello();
}

View File

@@ -0,0 +1,7 @@
[workspace]
[package]
name = "lib"
version = "0.1.0"
edition = "2021" # replaced in test
[dependencies]

View File

@@ -0,0 +1,7 @@
macro_rules! define_hello {
() => {
pub fn hello() { println!("hello world!"); }
};
}
define_hello!();

View File

@@ -0,0 +1,2 @@
def test(codeql, rust):
codeql.database.create(source_root="exe")