mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
10a9c3304b
We no longer need to selectively disable features or set the CARGO_DOC env var to successfully build crosvm. BUG=None TEST=None Change-Id: Ib997533c79340e3330a80633c4e8a81cbfb22ab6 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3988653 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Dennis Kempin <denniskempin@google.com>
17 lines
383 B
Bash
Executable file
17 lines
383 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Copyright 2021 The ChromiumOS Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
set -ex
|
|
|
|
# Build cargo-doc
|
|
# $ ./tools/cargo-doc --target-dir /path/to/dir
|
|
|
|
cargo doc \
|
|
--workspace \
|
|
--no-deps \
|
|
--exclude crosvm-fuzz \
|
|
--features="all-x86_64" \
|
|
--document-private-items \
|
|
"$@"
|