Skip to content

Commit f867d0b

Browse files
committed
Implement Vector
1 parent 8f7e71a commit f867d0b

File tree

3 files changed

+505
-1
lines changed

3 files changed

+505
-1
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ split_embedded_sources(
214214
EMBEDDED Unicode.swift # ORDER DEPENDENCY: must follow new unicode support
215215
EMBEDDED StringGraphemeBreaking.swift # ORDER DEPENDENCY: Must follow UTF16.swift
216216
EMBEDDED ValidUTF8Buffer.swift
217+
EMBEDDED Vector.swift
217218
EMBEDDED WriteBackMutableSlice.swift
218219
EMBEDDED MigrationSupport.swift
219220

@@ -318,6 +319,8 @@ list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "Macros")
318319
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "FreestandingMacros")
319320
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "Extern")
320321
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "BitwiseCopyable")
322+
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "RawLayout")
323+
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "ValueGenerics")
321324

322325
if("${SWIFT_NATIVE_SWIFT_TOOLS_PATH}" STREQUAL "")
323326
set(swift_bin_dir "${CMAKE_BINARY_DIR}/bin")

stdlib/public/core/GroupInfo.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@
256256
"Instant.swift",
257257
"EmbeddedRuntime.swift",
258258
"EmbeddedStubs.swift",
259-
"EmbeddedPrint.swift"
259+
"EmbeddedPrint.swift",
260+
"Vector.swift"
260261
],
261262
"Result": [
262263
"Result.swift"

0 commit comments

Comments
 (0)