Skip to content

Commit a766ed7

Browse files
committed
add run-make test for rustc_fluent_macro with hypens in package name
1 parent 38b364b commit a766ed7

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[package]
2+
name = "some-name"
3+
version = "0.0.0"
4+
edition = "2024"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
some_name_whatever_message = hello
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
use run_make_support::external_deps::cargo;
2+
3+
// test to make sure that `rustc_fluent_macro` correctly handles packages that have hyphens in their package name.
4+
5+
fn main() {
6+
cargo().arg("build").run();
7+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#![feature(rustc_private)]
2+
3+
extern crate rustc_driver;
4+
extern crate rustc_fluent_macro;
5+
6+
rustc_fluent_macro::fluent_messages!("../messages.ftl");

0 commit comments

Comments
 (0)