Skip to content

Commit 5992d88

Browse files
committed
---
yaml --- r: 103930 b: refs/heads/try c: 21b856d h: refs/heads/master v: v3
1 parent 6ee7107 commit 5992d88

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 62f1d68439dcfd509eaca29887afa97f22938373
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5-
refs/heads/try: d81bb441dae3bdb6760dcb0dc0fca2aceb561d24
5+
refs/heads/try: 21b856d2dc6ae2e4b40c73958d34501358707b39
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/mk/docs.mk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,7 @@ endif
275275

276276
# The rustdoc executable, rpath included in case --disable-rpath was provided to
277277
# ./configure
278-
RUSTDOC = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) \
279-
$(HBIN2_H_$(CFG_BUILD))/rustdoc$(X_$(CFG_BUILD))
278+
RUSTDOC = $(HBIN2_H_$(CFG_BUILD))/rustdoc$(X_$(CFG_BUILD))
280279

281280
# The library documenting macro
282281
#
@@ -291,7 +290,9 @@ doc/$(1)/index.html: \
291290
$$(foreach dep,$$(RUST_DEPS_$(1)), \
292291
$$(TLIB2_T_$(CFG_BUILD)_H_$(CFG_BUILD))/stamp.$$(dep))
293292
@$$(call E, rustdoc: $$@)
294-
$$(Q)$$(RUSTDOC) --cfg stage2 $$<
293+
$$(Q)$$(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $$(RUSTDOC) \
294+
--cfg stage2 $$<
295+
295296
endef
296297

297298
$(foreach crate,$(CRATES),$(eval $(call libdoc,$(crate))))

branches/try/src/doc/guide-ffi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ conventions. Rust provides a way to tell the compiler which convention to use:
520520

521521
~~~~
522522
#[cfg(target_os = "win32", target_arch = "x86")]
523-
#[link_name = "kernel32"]
523+
#[link(name = "kernel32")]
524524
extern "stdcall" {
525525
fn SetEnvironmentVariableA(n: *u8, v: *u8) -> std::libc::c_int;
526526
}

branches/try/src/doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3906,4 +3906,4 @@ Additional specific influences can be seen from the following languages:
39063906
* The lexical identifier rule of Python.
39073907
* The block syntax of Ruby.
39083908

3909-
[ffi]: tutorial-ffi.html
3909+
[ffi]: guide-ffi.html

0 commit comments

Comments
 (0)