Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107372518
D24765.id71949.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24765.id71949.diff
View Options
Index: head/lang/rust-nightly/Makefile
===================================================================
--- head/lang/rust-nightly/Makefile
+++ head/lang/rust-nightly/Makefile
@@ -3,7 +3,7 @@
PORTVERSION= 1.45.0.${NIGHTLY_DATE:C,-,,g}
# Always set PORTREVISION explicitly as otherwise it is inherited from lang/rust
-PORTREVISION= 0
+PORTREVISION= 1
PKGNAMESUFFIX= -nightly
DISTNAME= rustc-nightly-src
Index: head/lang/rust/Makefile
===================================================================
--- head/lang/rust/Makefile
+++ head/lang/rust/Makefile
@@ -133,6 +133,9 @@
@${ECHO_CMD} 'python="${PYTHON_CMD}"' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'docs=${_RUST_BUILD_DOCS}' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'verbose=2' >> ${WRKSRC}/config.toml
+.if defined(NIGHTLY_DATE)
+ @${ECHO_CMD} 'profiler=true' >> ${WRKSRC}/config.toml
+.endif
@${ECHO_CMD} 'target=[${_RUST_TARGETS:@.target.@"${.target.}"@:ts,}]' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'cargo="${WRKDIR}/bootstrap/bin/cargo"' >> ${WRKSRC}/config.toml
@${ECHO_CMD} 'rustc="${WRKDIR}/bootstrap/bin/rustc"' >> ${WRKSRC}/config.toml
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 5:24 AM (21 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15790064
Default Alt Text
D24765.id71949.diff (1 KB)
Attached To
Mode
D24765: lang/rust-nightly: enable the Rust profiler
Attached
Detach File
Event Timeline
Log In to Comment