Skip to content

Commit bb4fa0d

Browse files
committed
---
yaml --- r: 209619 b: refs/heads/try c: a99a8b0 h: refs/heads/master i: 209617: dae18f9 209615: 2b31daf v: v3
1 parent d297385 commit bb4fa0d

File tree

2 files changed

+2
-39
lines changed

2 files changed

+2
-39
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: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 744085ed1dad34a865a78b57ecdbb2849a7b1b87
5+
refs/heads/try: a99a8b0a927822bfbbfad1ec0c24378a6a914688
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/doc/reference.md

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3898,44 +3898,7 @@ state. Subsequent statements within a function may or may not initialize the
38983898
local variables. Local variables can be used only after they have been
38993899
initialized; this is enforced by the compiler.
39003900

3901-
# Runtime services, linkage and debugging
3902-
3903-
The Rust _runtime_ is a relatively compact collection of Rust code that
3904-
provides fundamental services and datatypes to all Rust threads at run-time. It
3905-
is smaller and simpler than many modern language runtimes. It is tightly
3906-
integrated into the language's execution model of memory, threads, communication
3907-
and logging.
3908-
3909-
### Memory allocation
3910-
3911-
The runtime memory-management system is based on a _service-provider
3912-
interface_, through which the runtime requests blocks of memory from its
3913-
environment and releases them back to its environment when they are no longer
3914-
needed. The default implementation of the service-provider interface consists
3915-
of the C runtime functions `malloc` and `free`.
3916-
3917-
The runtime memory-management system, in turn, supplies Rust threads with
3918-
facilities for allocating releasing stacks, as well as allocating and freeing
3919-
heap data.
3920-
3921-
### Built in types
3922-
3923-
The runtime provides C and Rust code to assist with various built-in types,
3924-
such as arrays, strings, and the low level communication system (ports,
3925-
channels, threads).
3926-
3927-
Support for other built-in types such as simple types, tuples and enums is
3928-
open-coded by the Rust compiler.
3929-
3930-
### Thread scheduling and communication
3931-
3932-
The runtime provides code to manage inter-thread communication. This includes
3933-
the system of thread-lifecycle state transitions depending on the contents of
3934-
queues, as well as code to copy values between queues and their recipients and
3935-
to serialize values for transmission over operating-system inter-process
3936-
communication facilities.
3937-
3938-
### Linkage
3901+
# Linkage
39393902

39403903
The Rust compiler supports various methods to link crates together both
39413904
statically and dynamically. This section will explore the various methods to

0 commit comments

Comments
 (0)