- Rename @extern to @cname, deprecating the old name #2493.

This commit is contained in:
Christoffer Lerno
2025-10-25 15:55:25 +02:00
parent 423152202f
commit 8aaf54e8b1
76 changed files with 393 additions and 369 deletions

View File

@@ -1,7 +1,7 @@
// #target: macos-x64
module test;
extern const int FOO @extern("foo1");
extern const int FOO @cname("foo1");
fn int main()
{
return FOO;

View File

@@ -1,7 +1,7 @@
// #target: macos-x64
module foo;
int baz @extern("foobar") = 123;
int baz @cname("foobar") = 123;
/* #expect: foo.ll