Skip to content

Commit

Permalink
Update link_name=... -> link(name=...
Browse files Browse the repository at this point in the history
  • Loading branch information
colemickens committed Feb 6, 2014
1 parent c13a929 commit ee608cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/guide-ffi.md
Expand Up @@ -520,7 +520,7 @@ conventions. Rust provides a way to tell the compiler which convention to use:

~~~~
#[cfg(target_os = "win32", target_arch = "x86")]
#[link_name = "kernel32"]
#[link(name = "kernel32")]
extern "stdcall" {
fn SetEnvironmentVariableA(n: *u8, v: *u8) -> std::libc::c_int;
}
Expand Down

5 comments on commit ee608cb

@bors
Copy link
Contributor

@bors bors commented on ee608cb Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at colemickens@ee608cb

@bors
Copy link
Contributor

@bors bors commented on ee608cb Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging colemickens/rust/patch-2 = ee608cb into auto

@bors
Copy link
Contributor

@bors bors commented on ee608cb Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

colemickens/rust/patch-2 = ee608cb merged ok, testing candidate = 55f53f5

@bors
Copy link
Contributor

@bors bors commented on ee608cb Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on ee608cb Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 55f53f5

Please sign in to comment.