patches and low-level development discussion
 help / color / mirror / code / Atom feed
de1defc0a3fe6af886b75b6448e6cf776944fe2f blob 705 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2022 Alyssa Ross <hi@alyssa.is>

project('start-vm', 'rust', 'c',
  default_options : ['rust_std=2018', 'warning_level=3'])

add_project_arguments('-D_GNU_SOURCE', language : 'c')
add_project_arguments('-C', 'panic=abort', language : 'rust')

c_lib = static_library('start-vm', 'fs.c', 'net.c', 'net-util.c')
rust_lib = static_library('start_vm', 'lib.rs', link_with : c_lib)

executable('start-vm', 'start-vm.rs', link_with : rust_lib, install : true)

test_exe = executable('start-vm-test', 'lib.rs',
  rust_args : ['--test', '-C', 'panic=unwind'],
  link_with : c_lib)
test('Rust unit tests', test_exe, protocol : 'rust')

subdir('tests')
debug log:

solving de1defc ...
found de1defc in https://spectrum-os.org/lists/archives/spectrum-devel/20221010232909.1953738-16-hi@alyssa.is/
found 74b88f0 in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 74b88f0e4a188bcfc9f15356c4a95a90a8377fc5	host/start-vm/meson.build

applying [1/1] https://spectrum-os.org/lists/archives/spectrum-devel/20221010232909.1953738-16-hi@alyssa.is/
diff --git a/host/start-vm/meson.build b/host/start-vm/meson.build
index 74b88f0..de1defc 100644

Checking patch host/start-vm/meson.build...
Applied patch host/start-vm/meson.build cleanly.

index at:
100644 de1defc0a3fe6af886b75b6448e6cf776944fe2f	host/start-vm/meson.build

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).